public class SaslPlain extends Object implements SaslClient
| Constructor and Description |
|---|
SaslPlain(String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
byte[] |
evaluateChallenge(byte[] challenge) |
String |
getMechanismName() |
Object |
getNegotiatedProperty(String name) |
boolean |
hasInitialResponse() |
boolean |
isComplete() |
byte[] |
unwrap(byte[] incoming,
int off,
int len) |
byte[] |
wrap(byte[] outgoing,
int off,
int len) |
public String getMechanismName()
getMechanismName in interface SaslClientpublic boolean hasInitialResponse()
hasInitialResponse in interface SaslClientpublic byte[] evaluateChallenge(byte[] challenge)
throws SaslException
evaluateChallenge in interface SaslClientSaslExceptionpublic boolean isComplete()
isComplete in interface SaslClientpublic byte[] unwrap(byte[] incoming,
int off,
int len)
throws SaslException
unwrap in interface SaslClientSaslExceptionpublic byte[] wrap(byte[] outgoing,
int off,
int len)
throws SaslException
wrap in interface SaslClientSaslExceptionpublic Object getNegotiatedProperty(String name)
getNegotiatedProperty in interface SaslClientpublic void dispose()
dispose in interface SaslClientCopyright © 2017. All rights reserved.