public interface SaslMechanism
| Modifier and Type | Field and Description |
|---|---|
static String |
FORCE_AUTHZID |
| 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.
|
static final String FORCE_AUTHZID
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–2018 Tigase. All rights reserved.