
public abstract class AbstractDelegatingSaslClient extends Object implements SaslClient, SaslWrapper
SaslClient instances which delegate to another SaslClient.| Modifier and Type | Field and Description |
|---|---|
protected SaslClient |
delegate
The delegate
SaslClient. |
IDENTITY| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDelegatingSaslClient(SaslClient delegate)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
byte[] |
evaluateChallenge(byte[] challenge) |
String |
getMechanismName() |
Object |
getNegotiatedProperty(String propName) |
boolean |
hasInitialResponse() |
boolean |
isComplete() |
String |
toString() |
byte[] |
unwrap(byte[] incoming,
int offset,
int len) |
byte[] |
wrap(byte[] outgoing,
int offset,
int len) |
protected final SaslClient delegate
SaslClient.protected AbstractDelegatingSaslClient(SaslClient delegate)
delegate - the SASL client to delegate topublic 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 SaslClientunwrap in interface SaslWrapperSaslExceptionpublic byte[] wrap(byte[] outgoing,
int offset,
int len)
throws SaslException
wrap in interface SaslClientwrap in interface SaslWrapperSaslExceptionpublic Object getNegotiatedProperty(String propName)
getNegotiatedProperty in interface SaslClientpublic void dispose()
throws SaslException
dispose in interface SaslClientSaslExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.