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.UseAuthenticationContextSaslClient
instead.A delegatingSaslClient
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.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 void
dispose()
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 SaslException
Deprecated.- Specified by:
evaluateChallenge
in interfaceSaslClient
- Overrides:
evaluateChallenge
in classAbstractDelegatingSaslClient
- Throws:
SaslException
-
dispose
public void dispose() throws SaslException
Deprecated.- Specified by:
dispose
in interfaceSaslClient
- Overrides:
dispose
in classAbstractDelegatingSaslClient
- Throws:
SaslException
-
-