public abstract class AbstractDelegatingSaslServerFactory extends Object implements SaslServerFactory
SaslServerFactory
instances which delegate to another SaslServerFactory
.Modifier and Type | Field and Description |
---|---|
protected SaslServerFactory |
delegate
The delegate
SaslServerFactory . |
Modifier | Constructor and Description |
---|---|
protected |
AbstractDelegatingSaslServerFactory(SaslServerFactory delegate)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
SaslServer |
createSaslServer(String mechanism,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh) |
boolean |
delegatesThrough(Class<? extends SaslServerFactory> factoryClass)
Determine whether this chain of delegating factories delegates through an instance of the given class.
|
String[] |
getMechanismNames(Map<String,?> props) |
String |
toString() |
protected final SaslServerFactory delegate
SaslServerFactory
.protected AbstractDelegatingSaslServerFactory(SaslServerFactory delegate)
delegate
- the delegate server factorypublic final boolean delegatesThrough(Class<? extends SaslServerFactory> factoryClass)
factoryClass
- the SASL server factory classtrue
if this chain delegates through the factory class, false
otherwisepublic SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
createSaslServer
in interface SaslServerFactory
SaslException
public String[] getMechanismNames(Map<String,?> props)
getMechanismNames
in interface SaslServerFactory
Copyright © 2019 JBoss by Red Hat. All rights reserved.