Package rocks.xmpp.core.sasl.anonymous
Class AnonymousSaslClient
- java.lang.Object
-
- rocks.xmpp.core.sasl.anonymous.AnonymousSaslClient
-
- All Implemented Interfaces:
SaslClient
public final class AnonymousSaslClient extends Object implements SaslClient
The client implementation of the "ANONYMOUS" SASL mechanism.
-
-
Constructor Summary
Constructors Constructor Description AnonymousSaslClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
byte[]
evaluateChallenge(byte[] challenge)
String
getMechanismName()
Object
getNegotiatedProperty(String propName)
boolean
hasInitialResponse()
boolean
isComplete()
byte[]
unwrap(byte[] incoming, int offset, int len)
byte[]
wrap(byte[] outgoing, int offset, int len)
-
-
-
Method Detail
-
getMechanismName
public final String getMechanismName()
- Specified by:
getMechanismName
in interfaceSaslClient
-
hasInitialResponse
public final boolean hasInitialResponse()
- Specified by:
hasInitialResponse
in interfaceSaslClient
-
evaluateChallenge
public final byte[] evaluateChallenge(byte[] challenge)
- Specified by:
evaluateChallenge
in interfaceSaslClient
-
isComplete
public final boolean isComplete()
- Specified by:
isComplete
in interfaceSaslClient
-
unwrap
public final byte[] unwrap(byte[] incoming, int offset, int len)
- Specified by:
unwrap
in interfaceSaslClient
-
wrap
public final byte[] wrap(byte[] outgoing, int offset, int len)
- Specified by:
wrap
in interfaceSaslClient
-
getNegotiatedProperty
public final Object getNegotiatedProperty(String propName)
- Specified by:
getNegotiatedProperty
in interfaceSaslClient
-
dispose
public final void dispose()
- Specified by:
dispose
in interfaceSaslClient
-
-