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, toString
public 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 SaslServerFactory
createSaslServer
in class AbstractDelegatingSaslServerFactory
SaslException
Copyright © 2020 JBoss by Red Hat. All rights reserved.