
public final class ProtocolSaslServerFactory extends AbstractDelegatingSaslServerFactory
SaslServerFactory which sets the protocol name to a fixed value, disregarding the passed in value.delegate| Constructor and Description |
|---|
ProtocolSaslServerFactory(SaslServerFactory delegate,
String protocol)
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, toStringpublic ProtocolSaslServerFactory(SaslServerFactory delegate, String protocol)
delegate - the delegate server factoryprotocol - the protocol name to usepublic 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.