public final class SecurityProviderSaslServerFactory extends Object implements SaslServerFactory
SaslServerFactory
which uses the currently installed security providers to acquire a delegate
SaslServerFactory
. The provider service instances may or may not be cached.Constructor and Description |
---|
SecurityProviderSaslServerFactory()
Construct a new instance.
|
SecurityProviderSaslServerFactory(Supplier<Provider[]> providerSupplier)
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 SecurityProviderSaslServerFactory(Supplier<Provider[]> providerSupplier)
providerSupplier
- the provider supplierpublic SecurityProviderSaslServerFactory()
public 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 © 2020 JBoss by Red Hat. All rights reserved.