public class SaslLogin
extends java.lang.Object
implements javax.security.sasl.SaslClient
| Constructor and Description |
|---|
SaslLogin (java.lang.String username,
java.lang.String password) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose () |
byte[] |
evaluateChallenge (byte[] challenge) |
java.lang.String |
getMechanismName () |
java.lang.Object |
getNegotiatedProperty (java.lang.String name) |
boolean |
hasInitialResponse () |
boolean |
isComplete () |
byte[] |
unwrap (byte[] incoming,
int off,
int len) |
byte[] |
wrap (byte[] outgoing,
int off,
int len) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic java.lang.String getMechanismName()
getMechanismName in interface javax.security.sasl.SaslClientpublic boolean hasInitialResponse()
hasInitialResponse in interface javax.security.sasl.SaslClientpublic byte[] evaluateChallenge(byte[] challenge) throws javax.security.sasl.SaslException
evaluateChallenge in interface javax.security.sasl.SaslClientjavax.security.sasl.SaslExceptionpublic boolean isComplete()
isComplete in interface javax.security.sasl.SaslClientpublic byte[] unwrap(byte[] incoming, int off, int len) throws javax.security.sasl.SaslException
unwrap in interface javax.security.sasl.SaslClientjavax.security.sasl.SaslExceptionpublic byte[] wrap(byte[] outgoing, int off, int len) throws javax.security.sasl.SaslException
wrap in interface javax.security.sasl.SaslClientjavax.security.sasl.SaslExceptionpublic java.lang.Object getNegotiatedProperty(java.lang.String name)
getNegotiatedProperty in interface javax.security.sasl.SaslClientpublic void dispose()
dispose in interface javax.security.sasl.SaslClient