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)
Construct a new instance.
|
AuthenticationContextSaslServerFactory(SaslServerFactory delegate,
AuthenticationContext context)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
SaslServer |
createSaslServer(String mechanism,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh) |
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 © 2020 JBoss by Red Hat. All rights reserved.