public abstract class AbstractScramSaslClient extends Object implements SaslClient
| Modifier and Type | Field and Description |
|---|---|
String |
_mechanism |
| Constructor and Description |
|---|
AbstractScramSaslClient(CallbackHandler cbh,
String mechanism,
String digestName,
String hmacName) |
| Modifier and Type | Method and 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) |
public final String _mechanism
public AbstractScramSaslClient(CallbackHandler cbh, String mechanism, String digestName, String hmacName)
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 offset,
int len)
throws SaslException
unwrap in interface SaslClientSaslExceptionpublic byte[] wrap(byte[] outgoing,
int offset,
int len)
throws SaslException
wrap in interface SaslClientSaslExceptionpublic Object getNegotiatedProperty(String propName)
getNegotiatedProperty in interface SaslClientpublic void dispose()
throws SaslException
dispose in interface SaslClientSaslExceptionCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.