Class SASLExternalMechanism
java.lang.Object
org.jivesoftware.smack.sasl.SASLMechanism
org.jivesoftware.smack.sasl.provided.SASLExternalMechanism
- All Implemented Interfaces:
 Comparable<SASLMechanism>
Implementation of the SASL-EXTERNAL authentication mechanism.
- 
Field Summary
FieldsFields inherited from class org.jivesoftware.smack.sasl.SASLMechanism
authenticationId, authorizationId, connection, connectionConfiguration, CRAMMD5, DIGESTMD5, EXTERNAL, GSSAPI, host, password, PLAIN, serviceName, sslSession - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidbooleanvoidprotected byte[]Should return the initial response of the SASL mechanism.getName()Returns the common name of the SASL mechanism.intGet the priority of this SASL mechanism.protected SASLMechanismbooleanMethods inherited from class org.jivesoftware.smack.sasl.SASLMechanism
afterFinalSaslChallenge, authenticate, authenticate, authenticateInternal, challengeReceived, compareTo, evaluateChallenge, instanceForAuthentication, isAuthenticationSuccessful, isFinished, saslPrep, setException, throwExceptionIfRequired, toBytes, toString 
- 
Field Details
- 
NAME
- See Also:
 
 
 - 
 - 
Constructor Details
- 
SASLExternalMechanism
public SASLExternalMechanism() 
 - 
 - 
Method Details
- 
authenticateInternal
- Specified by:
 authenticateInternalin classSASLMechanism
 - 
getAuthenticationText
Description copied from class:SASLMechanismShould return the initial response of the SASL mechanism. The returned byte array will be send base64 encoded to the server. SASL mechanism are free to returnnullor an empty array here.- Specified by:
 getAuthenticationTextin classSASLMechanism- Returns:
 - the initial response or null
 
 - 
getName
Description copied from class:SASLMechanismReturns the common name of the SASL mechanism. E.g.: PLAIN, DIGEST-MD5 or GSSAPI.- Specified by:
 getNamein classSASLMechanism- Returns:
 - the common name of the SASL mechanism.
 
 - 
getPriority
Description copied from class:SASLMechanismGet the priority of this SASL mechanism. Lower values mean higher priority.- Specified by:
 getPriorityin classSASLMechanism- Returns:
 - the priority of this SASL mechanism.
 
 - 
newInstance
- Specified by:
 newInstancein classSASLMechanism
 - 
checkIfSuccessfulOrThrow
- Specified by:
 checkIfSuccessfulOrThrowin classSASLMechanism
 - 
authzidSupported
- Overrides:
 authzidSupportedin classSASLMechanism
 - 
requiresPassword
- Overrides:
 requiresPasswordin classSASLMechanism
 
 -