public abstract class SASLJavaXMechanism extends SASLMechanism
| Modifier and Type | Field and Description |
|---|---|
protected javax.security.sasl.SaslClient |
sc |
authenticationId, authorizationId, connection, connectionConfiguration, CRAMMD5, DIGESTMD5, EXTERNAL, GSSAPI, host, password, PLAIN, serviceName, sslSession| Constructor and Description |
|---|
SASLJavaXMechanism() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
authenticateInternal() |
protected void |
authenticateInternal(javax.security.auth.callback.CallbackHandler cbh) |
void |
checkIfSuccessfulOrThrow() |
protected byte[] |
evaluateChallenge(byte[] challenge) |
protected byte[] |
getAuthenticationText()
Should return the initial response of the SASL mechanism.
|
abstract java.lang.String |
getName()
Returns the common name of the SASL mechanism.
|
protected java.util.Map<java.lang.String,java.lang.String> |
getSaslProps() |
protected java.lang.String |
getServerName() |
authenticate, authenticate, authzidSupported, challengeReceived, compareTo, getPriority, instanceForAuthentication, newInstance, saslPrep, setSaslPrepTransformer, toBytes, toStringprotected javax.security.sasl.SaslClient sc
public SASLJavaXMechanism()
public abstract java.lang.String getName()
SASLMechanismgetName in class SASLMechanismpublic final void checkIfSuccessfulOrThrow() throws SmackException
checkIfSuccessfulOrThrow in class SASLMechanismSmackExceptionprotected void authenticateInternal() throws SmackException
authenticateInternal in class SASLMechanismSmackExceptionprotected 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 SASLMechanismSmackExceptionprotected byte[] evaluateChallenge(byte[] challenge) throws SmackException
evaluateChallenge in class SASLMechanismSmackExceptionprotected java.util.Map<java.lang.String,java.lang.String> getSaslProps()
protected java.lang.String getServerName()