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<org.jivesoftware.smack.sasl.SASLMechanism>
Implementation of the SASL GSSAPI mechanism.
-
Field Summary
FieldsFields inherited from class org.jivesoftware.smack.sasl.javax.SASLJavaXMechanism
scFields 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
Methods inherited from class org.jivesoftware.smack.sasl.javax.SASLJavaXMechanism
authenticateInternal, authenticateInternal, checkIfSuccessfulOrThrow, evaluateChallenge, getAuthenticationTextMethods 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
public boolean authzidSupported()- Overrides:
authzidSupportedin classorg.jivesoftware.smack.sasl.SASLMechanism
-
getName
- Specified by:
getNamein classSASLJavaXMechanism
-
getSaslProps
- Overrides:
getSaslPropsin 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:
getServerNamein classSASLJavaXMechanism
-
getPriority
public int getPriority()- Specified by:
getPriorityin classorg.jivesoftware.smack.sasl.SASLMechanism
-
newInstance
- Specified by:
newInstancein classorg.jivesoftware.smack.sasl.SASLMechanism
-
requiresPassword
public boolean requiresPassword()- Overrides:
requiresPasswordin classorg.jivesoftware.smack.sasl.SASLMechanism
-