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 SaslServer
public byte[] evaluateResponse(byte[] response) throws SaslException
evaluateResponse
in interface SaslServer
SaslException
public String getAuthorizationID()
getAuthorizationID
in interface SaslServer
public boolean isComplete()
isComplete
in interface SaslServer
public byte[] unwrap(byte[] incoming, int offset, int len) throws SaslException
unwrap
in interface SaslServer
unwrap
in interface SaslWrapper
SaslException
public byte[] wrap(byte[] outgoing, int offset, int len) throws SaslException
wrap
in interface SaslServer
wrap
in interface SaslWrapper
SaslException
public Object getNegotiatedProperty(String propName)
getNegotiatedProperty
in interface SaslServer
public void dispose() throws SaslException
dispose
in interface SaslServer
SaslException
Copyright © 2020 JBoss by Red Hat. All rights reserved.