Class SASLGSSAPIMechanism
java.lang.Object
org.jivesoftware.smack.sasl.SASLMechanism
org.jivesoftware.smack.sasl.javax.SASLJavaXMechanism
org.jivesoftware.smack.sasl.javax.SASLGSSAPIMechanism
- All Implemented Interfaces:
Comparable<SASLMechanism>
Implementation of the SASL GSSAPI mechanism.
-
Field Summary
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
Returns the common name of the SASL mechanism.int
Get the priority of this SASL mechanism.protected String
GSSAPI differs from all other SASL mechanism such that it required the FQDN host name as server name and not the serviceName (At least that is what old code comments of Smack tell us).boolean
Methods inherited from class org.jivesoftware.smack.sasl.javax.SASLJavaXMechanism
authenticateInternal, authenticateInternal, checkIfSuccessfulOrThrow, evaluateChallenge, getAuthenticationText
Methods inherited from class org.jivesoftware.smack.sasl.SASLMechanism
afterFinalSaslChallenge, authenticate, authenticate, challengeReceived, compareTo, instanceForAuthentication, isAuthenticationSuccessful, isFinished, saslPrep, setException, throwExceptionIfRequired, toBytes, toString
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
SASLGSSAPIMechanism
public SASLGSSAPIMechanism()
-
-
Method Details
-
authzidSupported
- Overrides:
authzidSupported
in classSASLMechanism
-
getName
Description copied from class:SASLMechanism
Returns the common name of the SASL mechanism. E.g.: PLAIN, DIGEST-MD5 or GSSAPI.- Specified by:
getName
in classSASLJavaXMechanism
- Returns:
- the common name of the SASL mechanism.
-
getSaslProps
- Overrides:
getSaslProps
in classSASLJavaXMechanism
-
getServerName
GSSAPI differs from all other SASL mechanism such that it required the FQDN host name as server name and not the serviceName (At least that is what old code comments of Smack tell us).- Overrides:
getServerName
in classSASLJavaXMechanism
-
getPriority
Description copied from class:SASLMechanism
Get the priority of this SASL mechanism. Lower values mean higher priority.- Specified by:
getPriority
in classSASLMechanism
- Returns:
- the priority of this SASL mechanism.
-
newInstance
- Specified by:
newInstance
in classSASLMechanism
-
requiresPassword
- Overrides:
requiresPassword
in classSASLMechanism
-