Class SaslPlainServer.SaslPlainServerFactory
- java.lang.Object
-
- org.apache.storm.security.auth.plain.SaslPlainServer.SaslPlainServerFactory
-
- All Implemented Interfaces:
SaslServerFactory
- Enclosing class:
- SaslPlainServer
public static class SaslPlainServer.SaslPlainServerFactory extends Object implements SaslServerFactory
-
-
Constructor Summary
Constructors Constructor Description SaslPlainServerFactory()
-
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
-
-