
public abstract class AbstractDelegatingSaslServer extends Object implements SaslServer, SaslWrapper
SaslServer instances which delegate to another SaslServer.| Modifier and Type | Field and Description |
|---|---|
protected SaslServer |
delegate
The delegate
SaslServer. |
IDENTITY| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDelegatingSaslServer(SaslServer delegate)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
byte[] |
evaluateResponse(byte[] response) |
String |
getAuthorizationID() |
String |
getMechanismName() |
Object |
getNegotiatedProperty(String propName) |
boolean |
isComplete() |
String |
toString() |
byte[] |
unwrap(byte[] incoming,
int offset,
int len) |
byte[] |
wrap(byte[] outgoing,
int offset,
int len) |
protected final SaslServer delegate
SaslServer.protected AbstractDelegatingSaslServer(SaslServer delegate)
delegate - the SASL server to delegate topublic String getMechanismName()
getMechanismName in interface SaslServerpublic byte[] evaluateResponse(byte[] response)
throws SaslException
evaluateResponse in interface SaslServerSaslExceptionpublic String getAuthorizationID()
getAuthorizationID in interface SaslServerpublic boolean isComplete()
isComplete in interface SaslServerpublic byte[] unwrap(byte[] incoming,
int offset,
int len)
throws SaslException
unwrap in interface SaslServerunwrap in interface SaslWrapperSaslExceptionpublic byte[] wrap(byte[] outgoing,
int offset,
int len)
throws SaslException
wrap in interface SaslServerwrap in interface SaslWrapperSaslExceptionpublic Object getNegotiatedProperty(String propName)
getNegotiatedProperty in interface SaslServerpublic void dispose()
throws SaslException
dispose in interface SaslServerSaslExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.