public class SASLGSSAPIMechanism extends SASLJavaXMechanism
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
scauthenticationId, connection, CRAMMD5, DIGESTMD5, EXTERNAL, GSSAPI, host, password, PLAIN, serviceName| Constructor and Description |
|---|
SASLGSSAPIMechanism() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the common name of the SASL mechanism.
|
int |
getPriority() |
protected Map<String,String> |
getSaslProps() |
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).
|
SASLGSSAPIMechanism |
newInstance() |
authenticateInternal, authenticateInternal, checkIfSuccessfulOrThrow, evaluateChallenge, getAuthenticationTextauthenticate, authenticate, challengeReceived, compareTo, instanceForAuthentication, saslPrep, setSaslPrepTransformer, toBytespublic static final String NAME
public SASLGSSAPIMechanism()
public String getName()
SASLMechanismgetName in class SASLJavaXMechanismprotected Map<String,String> getSaslProps()
getSaslProps in class SASLJavaXMechanismprotected String getServerName()
getServerName in class SASLJavaXMechanismpublic int getPriority()
getPriority in class SASLMechanismpublic SASLGSSAPIMechanism newInstance()
newInstance in class SASLMechanism