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>
public class SASLGSSAPIMechanism extends SASLJavaXMechanism
Implementation of the SASL GSSAPI mechanism.
-
-
Field Summary
Fields Modifier and Type Field Description static 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 SASLGSSAPIMechanism()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanauthzidSupported()StringgetName()Returns the common name of the SASL mechanism.intgetPriority()Get the priority of this SASL mechanism.protected Map<String,String>getSaslProps()protected StringgetServerName()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).SASLGSSAPIMechanismnewInstance()-
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 Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SASLGSSAPIMechanism
public SASLGSSAPIMechanism()
-
-
Method Detail
-
authzidSupported
public boolean authzidSupported()
- Overrides:
authzidSupportedin classSASLMechanism
-
getName
public 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.
-
getSaslProps
protected Map<String,String> getSaslProps()
- Overrides:
getSaslPropsin classSASLJavaXMechanism
-
getServerName
protected String 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()
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 SASLGSSAPIMechanism newInstance()
- Specified by:
newInstancein classSASLMechanism
-
-