Package org.wildfly.security.sasl.util
Class ServerSaslWrapper
- java.lang.Object
 - 
- org.wildfly.security.sasl.util.ServerSaslWrapper
 
 
- 
- All Implemented Interfaces:
 SaslWrapper
public final class ServerSaslWrapper extends Object implements SaslWrapper
ASaslWrapperwhich encapsulates aSaslServer.- Author:
 - David M. Lloyd
 
 
- 
- 
Field Summary
- 
Fields inherited from interface org.wildfly.security.sasl.util.SaslWrapper
IDENTITY 
 - 
 
- 
Constructor Summary
Constructors Constructor Description ServerSaslWrapper(SaslServer saslServer)Construct a new instance. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]unwrap(byte[] incoming, int offset, int len)byte[]wrap(byte[] outgoing, int offset, int len) 
 - 
 
- 
- 
Constructor Detail
- 
ServerSaslWrapper
public ServerSaslWrapper(SaslServer saslServer)
Construct a new instance.- Parameters:
 saslServer- theSaslServerto delegate wrap/unwrap calls to.
 
 - 
 
- 
Method Detail
- 
wrap
public byte[] wrap(byte[] outgoing, int offset, int len) throws SaslException- Specified by:
 wrapin interfaceSaslWrapper- Throws:
 SaslException
 
- 
unwrap
public byte[] unwrap(byte[] incoming, int offset, int len) throws SaslException- Specified by:
 unwrapin interfaceSaslWrapper- Throws:
 SaslException
 
 - 
 
 -