tigase.jaxmpp.core.client.xmpp.modules.auth.saslmechanisms
Class AnonymousMechanism
java.lang.Object
tigase.jaxmpp.core.client.xmpp.modules.auth.saslmechanisms.AnonymousMechanism
- All Implemented Interfaces:
- SaslMechanism
public class AnonymousMechanism
- extends Object
- implements SaslMechanism
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnonymousMechanism
public AnonymousMechanism()
evaluateChallenge
public String evaluateChallenge(String input,
SessionObject sessionObjec)
- Description copied from interface:
SaslMechanism
- Evaluating challenge received from server.
- Specified by:
evaluateChallenge in interface SaslMechanism
- Parameters:
input - received datasessionObjec - current SessionObject
- Returns:
- calculated response
isAllowedToUse
public boolean isAllowedToUse(SessionObject sessionObject)
- Description copied from interface:
SaslMechanism
- This method is used to check if mechanism can be used with current
session. For example if no username and passowrd is stored in
sessionObject, then PlainMechanism can't be used.
- Specified by:
isAllowedToUse in interface SaslMechanism
- Parameters:
sessionObject - current SessionObject
- Returns:
true if mechanism can be used it current XMPP
session.
name
public String name()
- Description copied from interface:
SaslMechanism
- Return mechanism name.
- Specified by:
name in interface SaslMechanism
- Returns:
- mechanism name.
Copyright © 2006-2013 Tigase. All Rights Reserved.