Class SASLExternalMechanism
- java.lang.Object
-
- org.jivesoftware.smack.sasl.SASLMechanism
-
- org.jivesoftware.smack.sasl.provided.SASLExternalMechanism
-
- All Implemented Interfaces:
java.lang.Comparable<org.jivesoftware.smack.sasl.SASLMechanism>
public class SASLExternalMechanism extends org.jivesoftware.smack.sasl.SASLMechanismImplementation of the SASL-EXTERNAL authentication mechanism.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNAME
-
Constructor Summary
Constructors Constructor Description SASLExternalMechanism()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidauthenticateInternal(javax.security.auth.callback.CallbackHandler cbh)booleanauthzidSupported()voidcheckIfSuccessfulOrThrow()protected byte[]getAuthenticationText()java.lang.StringgetName()intgetPriority()protected org.jivesoftware.smack.sasl.SASLMechanismnewInstance()booleanrequiresPassword()-
Methods inherited from class org.jivesoftware.smack.sasl.SASLMechanism
afterFinalSaslChallenge, authenticate, authenticate, authenticateInternal, challengeReceived, compareTo, evaluateChallenge, instanceForAuthentication, isAuthenticationSuccessful, isFinished, saslPrep, setException, throwExceptionIfRequired, toBytes, toString
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
authenticateInternal
protected void authenticateInternal(javax.security.auth.callback.CallbackHandler cbh)
- Specified by:
authenticateInternalin classorg.jivesoftware.smack.sasl.SASLMechanism
-
getAuthenticationText
protected byte[] getAuthenticationText()
- Specified by:
getAuthenticationTextin classorg.jivesoftware.smack.sasl.SASLMechanism
-
getName
public java.lang.String getName()
- Specified by:
getNamein classorg.jivesoftware.smack.sasl.SASLMechanism
-
getPriority
public int getPriority()
- Specified by:
getPriorityin classorg.jivesoftware.smack.sasl.SASLMechanism
-
newInstance
protected org.jivesoftware.smack.sasl.SASLMechanism newInstance()
- Specified by:
newInstancein classorg.jivesoftware.smack.sasl.SASLMechanism
-
checkIfSuccessfulOrThrow
public void checkIfSuccessfulOrThrow()
- Specified by:
checkIfSuccessfulOrThrowin classorg.jivesoftware.smack.sasl.SASLMechanism
-
authzidSupported
public boolean authzidSupported()
- Overrides:
authzidSupportedin classorg.jivesoftware.smack.sasl.SASLMechanism
-
requiresPassword
public boolean requiresPassword()
- Overrides:
requiresPasswordin classorg.jivesoftware.smack.sasl.SASLMechanism
-
-