Package org.wildfly.security.sasl.util
Class AuthenticationContextSaslServerFactory
- java.lang.Object
-
- org.wildfly.security.sasl.util.AbstractDelegatingSaslServerFactory
-
- org.wildfly.security.sasl.util.AuthenticationContextSaslServerFactory
-
- All Implemented Interfaces:
SaslServerFactory
@Deprecated public final class AuthenticationContextSaslServerFactory extends AbstractDelegatingSaslServerFactory
Deprecated.UseAuthenticationContextSaslServerFactory
instead.A delegatingSaslServerFactory
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.AbstractDelegatingSaslServerFactory
delegate
-
-
Constructor Summary
Constructors Constructor Description AuthenticationContextSaslServerFactory(SaslServerFactory delegate)
Deprecated.Construct a new instance.AuthenticationContextSaslServerFactory(SaslServerFactory delegate, AuthenticationContext context)
Deprecated.Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SaslServer
createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)
Deprecated.-
Methods inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslServerFactory
delegatesThrough, getMechanismNames, toString
-
-
-
-
Constructor Detail
-
AuthenticationContextSaslServerFactory
public AuthenticationContextSaslServerFactory(SaslServerFactory delegate)
Deprecated.Construct a new instance.- Parameters:
delegate
- the delegate SASL server factory
-
AuthenticationContextSaslServerFactory
public AuthenticationContextSaslServerFactory(SaslServerFactory delegate, AuthenticationContext context)
Deprecated.Construct a new instance.- Parameters:
delegate
- the delegate SASL server factorycontext
- the authentication context to use
-
-
Method Detail
-
createSaslServer
public SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
Deprecated.- Specified by:
createSaslServer
in interfaceSaslServerFactory
- Overrides:
createSaslServer
in classAbstractDelegatingSaslServerFactory
- Throws:
SaslException
-
-