Package org.wildfly.security.sasl.util
Class AuthenticationContextSaslClient
- java.lang.Object
-
- org.wildfly.security.sasl.util.AbstractDelegatingSaslClient
-
- org.wildfly.security.sasl.util.AuthenticationContextSaslClient
-
- All Implemented Interfaces:
SaslClient,SaslWrapper
@Deprecated public final class AuthenticationContextSaslClient extends AbstractDelegatingSaslClient
Deprecated.UseAuthenticationContextSaslClientinstead.A delegatingSaslClientwhich establishes a specificAuthenticationContextfor the duration of the authentication process.- Author:
- David M. Lloyd
-
-
Field Summary
-
Fields inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslClient
delegate
-
Fields inherited from interface org.wildfly.security.sasl.util.SaslWrapper
IDENTITY
-
-
Constructor Summary
Constructors Constructor Description AuthenticationContextSaslClient(SaslClient delegate)Deprecated.Construct a new instance.AuthenticationContextSaslClient(SaslClient 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[]evaluateChallenge(byte[] challenge)Deprecated.-
Methods inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslClient
getMechanismName, getNegotiatedProperty, hasInitialResponse, isComplete, toString, unwrap, wrap
-
-
-
-
Constructor Detail
-
AuthenticationContextSaslClient
public AuthenticationContextSaslClient(SaslClient delegate, AuthenticationContext context)
Deprecated.Construct a new instance.- Parameters:
delegate- the delegate SASL clientcontext- the authentication context to use
-
AuthenticationContextSaslClient
public AuthenticationContextSaslClient(SaslClient delegate)
Deprecated.Construct a new instance.- Parameters:
delegate- the delegate SASL client
-
-
Method Detail
-
evaluateChallenge
public byte[] evaluateChallenge(byte[] challenge) throws SaslExceptionDeprecated.- Specified by:
evaluateChallengein interfaceSaslClient- Overrides:
evaluateChallengein classAbstractDelegatingSaslClient- Throws:
SaslException
-
dispose
public void dispose() throws SaslExceptionDeprecated.- Specified by:
disposein interfaceSaslClient- Overrides:
disposein classAbstractDelegatingSaslClient- Throws:
SaslException
-
-