Class AuthenticationContextSaslClient
java.lang.Object
org.wildfly.security.sasl.util.AbstractDelegatingSaslClient
org.wildfly.security.sasl.auth.util.AuthenticationContextSaslClient
- All Implemented Interfaces:
SaslClient,SaslWrapper
A delegating
SaslClient which establishes a specific AuthenticationContext for the duration
of the authentication process.- Author:
- David M. Lloyd
-
Field Summary
Fields inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslClient
delegateFields inherited from interface org.wildfly.security.sasl.util.SaslWrapper
IDENTITY -
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationContextSaslClient(SaslClient delegate) Construct a new instance.AuthenticationContextSaslClient(SaslClient delegate, AuthenticationContext context) Construct a new instance. -
Method Summary
Methods inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslClient
getMechanismName, getNegotiatedProperty, hasInitialResponse, isComplete, toString, unwrap, wrap
-
Constructor Details
-
AuthenticationContextSaslClient
Construct a new instance.- Parameters:
delegate- the delegate SASL clientcontext- the authentication context to use
-
AuthenticationContextSaslClient
Construct a new instance.- Parameters:
delegate- the delegate SASL client
-
-
Method Details
-
evaluateChallenge
- Specified by:
evaluateChallengein interfaceSaslClient- Overrides:
evaluateChallengein classAbstractDelegatingSaslClient- Throws:
SaslException
-
dispose
- Specified by:
disposein interfaceSaslClient- Overrides:
disposein classAbstractDelegatingSaslClient- Throws:
SaslException
-