
public final class ClientSaslWrapper extends Object implements SaslWrapper
SaslWrapper which encapsulates a SaslClient.IDENTITY| Constructor and Description |
|---|
ClientSaslWrapper(SaslClient saslClient)
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 ClientSaslWrapper(SaslClient saslClient)
saslClient - the SaslClient 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.