org.wildfly.security.sasl.auth.util.AuthenticationContextSaslServerFactory
instead.@Deprecated public final class AuthenticationContextSaslServerFactory extends AbstractDelegatingSaslServerFactory
SaslServerFactory
which establishes a specific AuthenticationContext
for the duration
of the authentication process.delegate
Constructor and Description |
---|
AuthenticationContextSaslServerFactory(SaslServerFactory delegate)
Deprecated.
Construct a new instance.
|
AuthenticationContextSaslServerFactory(SaslServerFactory delegate,
AuthenticationContext context)
Deprecated.
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
SaslServer |
createSaslServer(String mechanism,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh)
Deprecated.
|
delegatesThrough, getMechanismNames, toString
public AuthenticationContextSaslServerFactory(SaslServerFactory delegate)
delegate
- the delegate SASL server factorypublic AuthenticationContextSaslServerFactory(SaslServerFactory delegate, AuthenticationContext context)
delegate
- the delegate SASL server factorycontext
- the authentication context to usepublic SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
createSaslServer
in interface SaslServerFactory
createSaslServer
in class AbstractDelegatingSaslServerFactory
SaslException
Copyright © 2019 JBoss by Red Hat. All rights reserved.