public class SASLAnonymous extends SASLMechanism
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
authenticationId, authorizationId, connection, connectionConfiguration, CRAMMD5, DIGESTMD5, EXTERNAL, GSSAPI, host, password, PLAIN, serviceName, sslSession
Constructor and Description |
---|
SASLAnonymous() |
Modifier and Type | Method and Description |
---|---|
protected void |
authenticateInternal(javax.security.auth.callback.CallbackHandler cbh) |
void |
checkIfSuccessfulOrThrow() |
protected byte[] |
getAuthenticationText()
Should return the initial response of the SASL mechanism.
|
java.lang.String |
getName()
Returns the common name of the SASL mechanism.
|
int |
getPriority()
Get the priority of this SASL mechanism.
|
SASLAnonymous |
newInstance() |
authenticate, authenticate, authenticateInternal, authzidSupported, challengeReceived, compareTo, evaluateChallenge, instanceForAuthentication, saslPrep, setSaslPrepTransformer, toBytes, toString
public static final java.lang.String NAME
public SASLAnonymous()
public java.lang.String getName()
SASLMechanism
getName
in class SASLMechanism
public int getPriority()
SASLMechanism
getPriority
in class SASLMechanism
protected void authenticateInternal(javax.security.auth.callback.CallbackHandler cbh) throws SmackException
authenticateInternal
in class SASLMechanism
SmackException
protected byte[] getAuthenticationText() throws SmackException
SASLMechanism
null
or an
empty array here.getAuthenticationText
in class SASLMechanism
SmackException
public SASLAnonymous newInstance()
newInstance
in class SASLMechanism
public void checkIfSuccessfulOrThrow() throws SmackException
checkIfSuccessfulOrThrow
in class SASLMechanism
SmackException