Class AuthenticationContextSaslServer
java.lang.Object
org.wildfly.security.sasl.util.AbstractDelegatingSaslServer
org.wildfly.security.sasl.auth.util.AuthenticationContextSaslServer
- All Implemented Interfaces:
SaslServer,SaslWrapper
A delegating
SaslServer 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.AbstractDelegatingSaslServer
delegateFields inherited from interface org.wildfly.security.sasl.util.SaslWrapper
IDENTITY -
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationContextSaslServer(SaslServer delegate) Construct a new instance.AuthenticationContextSaslServer(SaslServer delegate, AuthenticationContext context) Construct a new instance. -
Method Summary
Methods inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslServer
getAuthorizationID, getMechanismName, getNegotiatedProperty, isComplete, toString, unwrap, wrap
-
Constructor Details
-
AuthenticationContextSaslServer
Construct a new instance.- Parameters:
delegate- the delegate SASL servercontext- the authentication context to use
-
AuthenticationContextSaslServer
Construct a new instance.- Parameters:
delegate- the delegate SASL server
-
-
Method Details
-
evaluateResponse
- Specified by:
evaluateResponsein interfaceSaslServer- Overrides:
evaluateResponsein classAbstractDelegatingSaslServer- Throws:
SaslException
-
dispose
- Specified by:
disposein interfaceSaslServer- Overrides:
disposein classAbstractDelegatingSaslServer- Throws:
SaslException
-