public class PlainMechanism extends Object implements SaslMechanism
| Constructor and Description |
|---|
PlainMechanism() |
| Modifier and Type | Method and Description |
|---|---|
String |
evaluateChallenge(String input,
SessionObject sessionObject)
Evaluating challenge received from server.
|
boolean |
isAllowedToUse(SessionObject sessionObject)
This method is used to check if mechanism can be used with current
session.
|
String |
name()
Return mechanism name.
|
public String evaluateChallenge(String input, SessionObject sessionObject)
SaslMechanismevaluateChallenge in interface SaslMechanisminput - received datasessionObject - current SessionObjectpublic boolean isAllowedToUse(SessionObject sessionObject)
SaslMechanismisAllowedToUse in interface SaslMechanismsessionObject - current SessionObjecttrue if mechanism can be used it current XMPP
session.public String name()
SaslMechanismname in interface SaslMechanismCopyright © 2006–2014 Tigase. All rights reserved.