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