public final class AuthenticationContextSaslClient extends AbstractDelegatingSaslClient
SaslClient
which establishes a specific AuthenticationContext
for the duration
of the authentication process.delegate
IDENTITY
Constructor and Description |
---|
AuthenticationContextSaslClient(SaslClient delegate)
Construct a new instance.
|
AuthenticationContextSaslClient(SaslClient delegate,
AuthenticationContext context)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
byte[] |
evaluateChallenge(byte[] challenge) |
getMechanismName, getNegotiatedProperty, hasInitialResponse, isComplete, toString, unwrap, wrap
public AuthenticationContextSaslClient(SaslClient delegate, AuthenticationContext context)
delegate
- the delegate SASL clientcontext
- the authentication context to usepublic AuthenticationContextSaslClient(SaslClient delegate)
delegate
- the delegate SASL clientpublic byte[] evaluateChallenge(byte[] challenge) throws SaslException
evaluateChallenge
in interface SaslClient
evaluateChallenge
in class AbstractDelegatingSaslClient
SaslException
public void dispose() throws SaslException
dispose
in interface SaslClient
dispose
in class AbstractDelegatingSaslClient
SaslException
Copyright © 2020 JBoss by Red Hat. All rights reserved.