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