Package org.wildfly.security.sasl.gssapi
Class AbstractGssapiMechanism.GssapiWrapper
- java.lang.Object
-
- org.wildfly.security.sasl.gssapi.AbstractGssapiMechanism.GssapiWrapper
-
- All Implemented Interfaces:
SaslWrapper
- Enclosing class:
- AbstractGssapiMechanism
protected class AbstractGssapiMechanism.GssapiWrapper extends Object implements SaslWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
confidential
-
Fields inherited from interface org.wildfly.security.sasl.util.SaslWrapper
IDENTITY
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GssapiWrapper(boolean confidential)
-
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)
-
-
-
Method Detail
-
wrap
public byte[] wrap(byte[] outgoing, int offset, int len) throws SaslException
- Specified by:
wrap
in interfaceSaslWrapper
- Throws:
SaslException
-
unwrap
public byte[] unwrap(byte[] incoming, int offset, int len) throws SaslException
- Specified by:
unwrap
in interfaceSaslWrapper
- Throws:
SaslException
-
-