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