Package org.wildfly.security.sasl.plain
Class PlainSaslServerFactory
- java.lang.Object
-
- org.wildfly.security.sasl.plain.PlainSaslServerFactory
-
- All Implemented Interfaces:
SaslServerFactory
@MetaInfServices(javax.security.sasl.SaslServerFactory.class) public class PlainSaslServerFactory extends Object implements SaslServerFactory
The server factory for the plain SASL mechanism.- Author:
- Darran Lofthouse, David M. Lloyd
-
-
Constructor Summary
Constructors Constructor Description PlainSaslServerFactory()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SaslServer
createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)
String[]
getMechanismNames(Map<String,?> props)
-
-
-
Method Detail
-
createSaslServer
public SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
- Specified by:
createSaslServer
in interfaceSaslServerFactory
- Throws:
SaslException
-
getMechanismNames
public String[] getMechanismNames(Map<String,?> props)
- Specified by:
getMechanismNames
in interfaceSaslServerFactory
-
-