Package org.wildfly.security.sasl.util
Class AuthenticationContextSaslServer
- java.lang.Object
-
- org.wildfly.security.sasl.util.AbstractDelegatingSaslServer
-
- org.wildfly.security.sasl.util.AuthenticationContextSaslServer
-
- All Implemented Interfaces:
SaslServer
,SaslWrapper
@Deprecated public final class AuthenticationContextSaslServer extends AbstractDelegatingSaslServer
Deprecated.UseAuthenticationContextSaslServer
instead.A delegatingSaslServer
which establishes a specificAuthenticationContext
for the duration of the authentication process.- Author:
- David M. Lloyd
-
-
Field Summary
-
Fields inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslServer
delegate
-
Fields inherited from interface org.wildfly.security.sasl.util.SaslWrapper
IDENTITY
-
-
Constructor Summary
Constructors Constructor Description AuthenticationContextSaslServer(SaslServer delegate)
Deprecated.Construct a new instance.AuthenticationContextSaslServer(SaslServer delegate, AuthenticationContext context)
Deprecated.Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
dispose()
Deprecated.byte[]
evaluateResponse(byte[] response)
Deprecated.-
Methods inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslServer
getAuthorizationID, getMechanismName, getNegotiatedProperty, isComplete, toString, unwrap, wrap
-
-
-
-
Constructor Detail
-
AuthenticationContextSaslServer
public AuthenticationContextSaslServer(SaslServer delegate, AuthenticationContext context)
Deprecated.Construct a new instance.- Parameters:
delegate
- the delegate SASL servercontext
- the authentication context to use
-
AuthenticationContextSaslServer
public AuthenticationContextSaslServer(SaslServer delegate)
Deprecated.Construct a new instance.- Parameters:
delegate
- the delegate SASL server
-
-
Method Detail
-
evaluateResponse
public byte[] evaluateResponse(byte[] response) throws SaslException
Deprecated.- Specified by:
evaluateResponse
in interfaceSaslServer
- Overrides:
evaluateResponse
in classAbstractDelegatingSaslServer
- Throws:
SaslException
-
dispose
public void dispose() throws SaslException
Deprecated.- Specified by:
dispose
in interfaceSaslServer
- Overrides:
dispose
in classAbstractDelegatingSaslServer
- Throws:
SaslException
-
-