public class SASLGSSAPIMechanism extends SASLJavaXMechanism
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
sc
authenticationId, authorizationId, connection, connectionConfiguration, CRAMMD5, DIGESTMD5, EXTERNAL, GSSAPI, host, password, PLAIN, serviceName, sslSession
Constructor and Description |
---|
SASLGSSAPIMechanism() |
Modifier and Type | Method and Description |
---|---|
boolean |
authzidSupported() |
java.lang.String |
getName()
Returns the common name of the SASL mechanism.
|
int |
getPriority()
Get the priority of this SASL mechanism.
|
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() |
authenticateInternal, authenticateInternal, checkIfSuccessfulOrThrow, evaluateChallenge, getAuthenticationText
authenticate, authenticate, challengeReceived, compareTo, instanceForAuthentication, saslPrep, setSaslPrepTransformer, toBytes, toString
public static final java.lang.String NAME
public SASLGSSAPIMechanism()
public boolean authzidSupported()
authzidSupported
in class SASLMechanism
public java.lang.String getName()
SASLMechanism
getName
in class SASLJavaXMechanism
protected java.util.Map<java.lang.String,java.lang.String> getSaslProps()
getSaslProps
in class SASLJavaXMechanism
protected java.lang.String getServerName()
getServerName
in class SASLJavaXMechanism
public int getPriority()
SASLMechanism
getPriority
in class SASLMechanism
public SASLGSSAPIMechanism newInstance()
newInstance
in class SASLMechanism