public final class PrivilegedSaslServer extends AbstractDelegatingSaslServer implements SaslWrapper
SaslServer
which evaluates responses and wrap/unwrap requests in an privileged context.delegate
IDENTITY
Constructor and Description |
---|
PrivilegedSaslServer(SaslServer delegate) |
Modifier and Type | Method and Description |
---|---|
byte[] |
evaluateResponse(byte[] response) |
byte[] |
unwrap(byte[] incoming,
int offset,
int len) |
byte[] |
wrap(byte[] outgoing,
int offset,
int len) |
dispose, getAuthorizationID, getMechanismName, getNegotiatedProperty, isComplete, toString
public PrivilegedSaslServer(SaslServer delegate)
public byte[] evaluateResponse(byte[] response) throws SaslException
evaluateResponse
in interface SaslServer
evaluateResponse
in class AbstractDelegatingSaslServer
SaslException
public byte[] unwrap(byte[] incoming, int offset, int len) throws SaslException
unwrap
in interface SaslServer
unwrap
in interface SaslWrapper
unwrap
in class AbstractDelegatingSaslServer
SaslException
public byte[] wrap(byte[] outgoing, int offset, int len) throws SaslException
wrap
in interface SaslServer
wrap
in interface SaslWrapper
wrap
in class AbstractDelegatingSaslServer
SaslException
Copyright © 2020 JBoss by Red Hat. All rights reserved.