Class SASLDigestMD5Mechanism
- java.lang.Object
-
- org.jivesoftware.smack.sasl.SASLMechanism
-
- org.jivesoftware.smack.sasl.javax.SASLJavaXMechanism
-
- org.jivesoftware.smack.sasl.javax.SASLDigestMD5Mechanism
-
- All Implemented Interfaces:
java.lang.Comparable<SASLMechanism>
public class SASLDigestMD5Mechanism extends SASLJavaXMechanism
Implementation of the SASL DIGEST-MD5 mechanism.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNAME-
Fields inherited from class org.jivesoftware.smack.sasl.javax.SASLJavaXMechanism
sc
-
Fields inherited from class org.jivesoftware.smack.sasl.SASLMechanism
authenticationId, authorizationId, connection, connectionConfiguration, CRAMMD5, DIGESTMD5, EXTERNAL, GSSAPI, host, password, PLAIN, serviceName, sslSession
-
-
Constructor Summary
Constructors Constructor Description SASLDigestMD5Mechanism()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanauthzidSupported()java.lang.StringgetName()Returns the common name of the SASL mechanism.intgetPriority()Get the priority of this SASL mechanism.SASLDigestMD5MechanismnewInstance()-
Methods inherited from class org.jivesoftware.smack.sasl.javax.SASLJavaXMechanism
authenticateInternal, authenticateInternal, checkIfSuccessfulOrThrow, evaluateChallenge, getAuthenticationText, getSaslProps, getServerName
-
Methods inherited from class org.jivesoftware.smack.sasl.SASLMechanism
afterFinalSaslChallenge, authenticate, authenticate, challengeReceived, compareTo, instanceForAuthentication, isAuthenticationSuccessful, isFinished, requiresPassword, saslPrep, setException, throwExceptionIfRequired, toBytes, toString
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SASLDigestMD5Mechanism
public SASLDigestMD5Mechanism()
-
-
Method Detail
-
authzidSupported
public boolean authzidSupported()
- Overrides:
authzidSupportedin classSASLMechanism
-
getName
public java.lang.String getName()
Description copied from class:SASLMechanismReturns the common name of the SASL mechanism. E.g.: PLAIN, DIGEST-MD5 or GSSAPI.- Specified by:
getNamein classSASLJavaXMechanism- Returns:
- the common name of the SASL mechanism.
-
getPriority
public int 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
public SASLDigestMD5Mechanism newInstance()
- Specified by:
newInstancein classSASLMechanism
-
-