public final class AuthenticationContextSaslServer extends AbstractDelegatingSaslServer
SaslServer
which establishes a specific AuthenticationContext
for the duration
of the authentication process.delegate
IDENTITY
Constructor and Description |
---|
AuthenticationContextSaslServer(SaslServer delegate)
Construct a new instance.
|
AuthenticationContextSaslServer(SaslServer delegate,
AuthenticationContext context)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
byte[] |
evaluateResponse(byte[] response) |
getAuthorizationID, getMechanismName, getNegotiatedProperty, isComplete, toString, unwrap, wrap
public AuthenticationContextSaslServer(SaslServer delegate, AuthenticationContext context)
delegate
- the delegate SASL servercontext
- the authentication context to usepublic AuthenticationContextSaslServer(SaslServer delegate)
delegate
- the delegate SASL serverpublic byte[] evaluateResponse(byte[] response) throws SaslException
evaluateResponse
in interface SaslServer
evaluateResponse
in class AbstractDelegatingSaslServer
SaslException
public void dispose() throws SaslException
dispose
in interface SaslServer
dispose
in class AbstractDelegatingSaslServer
SaslException
Copyright © 2020 JBoss by Red Hat. All rights reserved.