
public final class AggregateSaslServerFactory extends Object implements SaslServerFactory
SaslServerFactory which aggregates other SaslServerFactory instances into one.| Constructor and Description |
|---|
AggregateSaslServerFactory(Collection<SaslServerFactory> factories)
Construct a new instance.
|
AggregateSaslServerFactory(SaslServerFactory... factories)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
SaslServer |
createSaslServer(String mechanism,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh) |
String[] |
getMechanismNames(Map<String,?> props) |
public AggregateSaslServerFactory(SaslServerFactory... factories)
factories - the factories to aggregate (must not be null)public AggregateSaslServerFactory(Collection<SaslServerFactory> factories)
factories - the factories to aggregate (must not be null)public SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
createSaslServer in interface SaslServerFactorySaslExceptionpublic String[] getMechanismNames(Map<String,?> props)
getMechanismNames in interface SaslServerFactoryCopyright © 2020 JBoss by Red Hat. All rights reserved.