public interface SaslMechanism
| 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.
|
boolean |
isComplete(SessionObject sessionObject)
Determines whether the authentication exchange has completed.
|
String |
name()
Return mechanism name.
|
String evaluateChallenge(String input, SessionObject sessionObject) throws ClientSaslException
input - received datasessionObject - current SessionObjectClientSaslExceptionboolean isAllowedToUse(SessionObject sessionObject)
sessionObject - current SessionObjecttrue if mechanism can be used it current XMPP
session.boolean isComplete(SessionObject sessionObject)
sessionObject - current SessionObjecttrue if exchange is complete.String name()
Copyright © 2006–2016 Tigase. All rights reserved.