Class SASLPlainMechanism
- java.lang.Object
-
- org.jivesoftware.smack.sasl.SASLMechanism
-
- org.jivesoftware.smack.sasl.provided.SASLPlainMechanism
-
- All Implemented Interfaces:
java.lang.Comparable<org.jivesoftware.smack.sasl.SASLMechanism>
public class SASLPlainMechanism extends org.jivesoftware.smack.sasl.SASLMechanism
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NAME
-
Constructor Summary
Constructors Constructor Description SASLPlainMechanism()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
authenticateInternal(javax.security.auth.callback.CallbackHandler cbh)
boolean
authzidSupported()
void
checkIfSuccessfulOrThrow()
protected byte[]
getAuthenticationText()
java.lang.String
getName()
int
getPriority()
SASLPlainMechanism
newInstance()
-
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:
authenticateInternal
in classorg.jivesoftware.smack.sasl.SASLMechanism
-
getAuthenticationText
protected byte[] getAuthenticationText()
- Specified by:
getAuthenticationText
in classorg.jivesoftware.smack.sasl.SASLMechanism
-
getName
public java.lang.String getName()
- Specified by:
getName
in classorg.jivesoftware.smack.sasl.SASLMechanism
-
getPriority
public int getPriority()
- Specified by:
getPriority
in classorg.jivesoftware.smack.sasl.SASLMechanism
-
newInstance
public SASLPlainMechanism newInstance()
- Specified by:
newInstance
in classorg.jivesoftware.smack.sasl.SASLMechanism
-
checkIfSuccessfulOrThrow
public void checkIfSuccessfulOrThrow()
- Specified by:
checkIfSuccessfulOrThrow
in classorg.jivesoftware.smack.sasl.SASLMechanism
-
authzidSupported
public boolean authzidSupported()
- Overrides:
authzidSupported
in classorg.jivesoftware.smack.sasl.SASLMechanism
-
-