Package org.wildfly.security.sasl.scram
Class ScramSaslClientFactory
- java.lang.Object
-
- org.wildfly.security.sasl.scram.ScramSaslClientFactory
-
- All Implemented Interfaces:
SaslClientFactory
@MetaInfServices(javax.security.sasl.SaslClientFactory.class) public final class ScramSaslClientFactory extends Object implements SaslClientFactory
- Author:
- David M. Lloyd
-
-
Constructor Summary
Constructors Constructor Description ScramSaslClientFactory()
ScramSaslClientFactory(Provider provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SaslClient
createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)
String[]
getMechanismNames(Map<String,?> props)
-
-
-
Constructor Detail
-
ScramSaslClientFactory
public ScramSaslClientFactory()
-
ScramSaslClientFactory
public ScramSaslClientFactory(Provider provider)
-
-
Method Detail
-
createSaslClient
public SaslClient createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
- Specified by:
createSaslClient
in interfaceSaslClientFactory
- Throws:
SaslException
-
getMechanismNames
public String[] getMechanismNames(Map<String,?> props)
- Specified by:
getMechanismNames
in interfaceSaslClientFactory
-
-