
public final class SetMechanismInformationSaslServerFactory extends AbstractDelegatingSaslServerFactory
SaslServerFactory implementation that will always ensure mechanism information is passed to the CallbackHandler before the first authentication callbacks.delegate| Constructor and Description |
|---|
SetMechanismInformationSaslServerFactory(SaslServerFactory delegate)
Construct a new instance of the
SetMechanismInformationSaslServerFactory. |
| Modifier and Type | Method and Description |
|---|---|
SaslServer |
createSaslServer(String mechanism,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh) |
delegatesThrough, getMechanismNames, toStringpublic SetMechanismInformationSaslServerFactory(SaslServerFactory delegate)
SetMechanismInformationSaslServerFactory.delegate - the SaslServerFactory being delegated to.public SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
createSaslServer in interface SaslServerFactorycreateSaslServer in class AbstractDelegatingSaslServerFactorySaslExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.