Package org.wildfly.security.sasl.plain
Class PlainSaslClientFactory
- java.lang.Object
-
- org.wildfly.security.sasl.plain.PlainSaslClientFactory
-
- All Implemented Interfaces:
SaslClientFactory
@MetaInfServices(javax.security.sasl.SaslClientFactory.class) public final class PlainSaslClientFactory extends Object implements SaslClientFactory
ThePLAIN
SASL mechanism client factory implementation.- Author:
- David M. Lloyd
-
-
Constructor Summary
Constructors Constructor Description PlainSaslClientFactory()
-
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)
-
-
-
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
-
-