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.UseAuthenticationContextSaslServerinstead.A delegatingSaslServerwhich establishes a specificAuthenticationContextfor 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 voiddispose()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 SaslExceptionDeprecated.- Specified by:
evaluateResponsein interfaceSaslServer- Overrides:
evaluateResponsein classAbstractDelegatingSaslServer- Throws:
SaslException
-
dispose
public void dispose() throws SaslExceptionDeprecated.- Specified by:
disposein interfaceSaslServer- Overrides:
disposein classAbstractDelegatingSaslServer- Throws:
SaslException
-
-