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 SessionObjectClientSaslException
boolean 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–2022 Tigase. All rights reserved.