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:
java.lang.Comparable<org.jivesoftware.smack.sasl.SASLMechanism>
public class SASLGSSAPIMechanism extends SASLJavaXMechanism
Implementation of the SASL GSSAPI mechanism.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NAME
-
Fields inherited from class org.jivesoftware.smack.sasl.javax.SASLJavaXMechanism
sc
-
-
Constructor Summary
Constructors Constructor Description SASLGSSAPIMechanism()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
authzidSupported()
java.lang.String
getName()
int
getPriority()
protected java.util.Map<java.lang.String,java.lang.String>
getSaslProps()
protected java.lang.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).SASLGSSAPIMechanism
newInstance()
-
Methods inherited from class org.jivesoftware.smack.sasl.javax.SASLJavaXMechanism
authenticateInternal, authenticateInternal, checkIfSuccessfulOrThrow, evaluateChallenge, getAuthenticationText
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
authzidSupported
public boolean authzidSupported()
- Overrides:
authzidSupported
in classorg.jivesoftware.smack.sasl.SASLMechanism
-
getName
public java.lang.String getName()
- Specified by:
getName
in classSASLJavaXMechanism
-
getSaslProps
protected java.util.Map<java.lang.String,java.lang.String> getSaslProps()
- Overrides:
getSaslProps
in classSASLJavaXMechanism
-
getServerName
protected java.lang.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:
getServerName
in classSASLJavaXMechanism
-
getPriority
public int getPriority()
- Specified by:
getPriority
in classorg.jivesoftware.smack.sasl.SASLMechanism
-
newInstance
public SASLGSSAPIMechanism newInstance()
- Specified by:
newInstance
in classorg.jivesoftware.smack.sasl.SASLMechanism
-
-