Package org.apache.hadoop.security
Class FastSaslServerFactory
java.lang.Object
org.apache.hadoop.security.FastSaslServerFactory
- All Implemented Interfaces:
SaslServerFactory
@LimitedPrivate({"HDFS","MapReduce"})
public class FastSaslServerFactory
extends Object
implements SaslServerFactory
Class for dealing with caching SASL server factories.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSaslServer(String mechanism, String protocol, String serverName, Map<String, ?> props, CallbackHandler cbh) String[]getMechanismNames(Map<String, ?> props)
-
Constructor Details
-
FastSaslServerFactory
-
-
Method Details
-
createSaslServer
public SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String, ?> props, CallbackHandler cbh) throws SaslException- Specified by:
createSaslServerin interfaceSaslServerFactory- Throws:
SaslException
-
getMechanismNames
- Specified by:
getMechanismNamesin interfaceSaslServerFactory
-