Class SaslPlainServer.SaslPlainServerFactory
java.lang.Object
org.apache.hadoop.hbase.security.provider.example.SaslPlainServer.SaslPlainServerFactory
- All Implemented Interfaces:
SaslServerFactory
- Enclosing class:
- SaslPlainServer
public static class SaslPlainServer.SaslPlainServerFactory
extends Object
implements SaslServerFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateSaslServer
(String mechanism, String protocol, String serverName, Map<String, ?> props, CallbackHandler cbh) String[]
getMechanismNames
(Map<String, ?> props)
-
Constructor Details
-
SaslPlainServerFactory
public SaslPlainServerFactory()
-
-
Method Details
-
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
- Specified by:
getMechanismNames
in interfaceSaslServerFactory
-