
public final class ServerSaslWrapper extends Object implements SaslWrapper
SaslWrapper which encapsulates a SaslServer.IDENTITY| Constructor and Description |
|---|
ServerSaslWrapper(SaslServer saslServer)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
unwrap(byte[] incoming,
int offset,
int len) |
byte[] |
wrap(byte[] outgoing,
int offset,
int len) |
public ServerSaslWrapper(SaslServer saslServer)
saslServer - the SaslServer to delegate wrap/unwrap calls to.public byte[] wrap(byte[] outgoing,
int offset,
int len)
throws SaslException
wrap in interface SaslWrapperSaslExceptionpublic byte[] unwrap(byte[] incoming,
int offset,
int len)
throws SaslException
unwrap in interface SaslWrapperSaslExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.