public class ExternalMechanism extends AbstractSaslMechanism
SASL_COMPLETE_KEY
FORCE_AUTHZID
Constructor and Description |
---|
ExternalMechanism() |
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.
|
isComplete, setComplete
public String evaluateChallenge(String input, SessionObject sessionObject)
SaslMechanism
input
- received datasessionObject
- current SessionObjectpublic boolean isAllowedToUse(SessionObject sessionObject)
SaslMechanism
sessionObject
- current SessionObjecttrue
if mechanism can be used it current XMPP session.public String name()
SaslMechanism
Copyright © 2006–2023 Tigase. All rights reserved.