public final class SecurityProviderSaslClientFactory extends Object implements SaslClientFactory
SaslClientFactory
which uses the currently installed security providers to acquire a delegate
SaslClientFactory
. The provider service instances may or may not be cached.Constructor and Description |
---|
SecurityProviderSaslClientFactory()
Construct a new instance.
|
SecurityProviderSaslClientFactory(Supplier<Provider[]> providerSupplier)
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 SecurityProviderSaslClientFactory(Supplier<Provider[]> providerSupplier)
providerSupplier
- the provider supplierpublic SecurityProviderSaslClientFactory()
public SaslClient createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
createSaslClient
in interface SaslClientFactory
SaslException
public String[] getMechanismNames(Map<String,?> props)
getMechanismNames
in interface SaslClientFactory
Copyright © 2020 JBoss by Red Hat. All rights reserved.