/*
 * Decompiled with CFR 0.152.
 */
package org.jivesoftware.smack.sasl;

import javax.security.auth.callback.CallbackHandler;
import org.jivesoftware.smack.SmackException;
import org.jivesoftware.smack.sasl.SASLMechanism;

public class SASLAnonymous
extends SASLMechanism {
    public static final String NAME = "ANONYMOUS";

    @Override
    public String getName() {
        return NAME;
    }

    @Override
    public int getPriority() {
        return 500;
    }

    @Override
    protected void authenticateInternal(CallbackHandler cbh) throws SmackException {
    }

    @Override
    protected byte[] getAuthenticationText() throws SmackException {
        return null;
    }

    @Override
    public SASLAnonymous newInstance() {
        return new SASLAnonymous();
    }

    @Override
    public void checkIfSuccessfulOrThrow() throws SmackException {
    }
}
