public class SASLExternalMechanism 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 |
|---|
SASLExternalMechanism() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
authenticateInternal(javax.security.auth.callback.CallbackHandler cbh) |
boolean |
authzidSupported() |
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.
|
protected SASLMechanism |
newInstance() |
authenticate, authenticate, authenticateInternal, challengeReceived, compareTo, evaluateChallenge, instanceForAuthentication, saslPrep, setSaslPrepTransformer, toBytes, toStringpublic static final java.lang.String NAME
public SASLExternalMechanism()
protected void authenticateInternal(javax.security.auth.callback.CallbackHandler cbh) throws SmackException
authenticateInternal in class SASLMechanismSmackExceptionprotected byte[] getAuthenticationText() throws SmackException
SASLMechanismnull or an
empty array here.getAuthenticationText in class SASLMechanismSmackExceptionpublic java.lang.String getName()
SASLMechanismgetName in class SASLMechanismpublic int getPriority()
SASLMechanismgetPriority in class SASLMechanismprotected SASLMechanism newInstance()
newInstance in class SASLMechanismpublic void checkIfSuccessfulOrThrow() throws SmackException
checkIfSuccessfulOrThrow in class SASLMechanismSmackExceptionpublic boolean authzidSupported()
authzidSupported in class SASLMechanism