FastSaslServerFactory (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.security, class: FastSaslServerFactory

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
  Constructor
  Description
  `FastSaslServerFactory(Map<String,?> props)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `SaslServer`
  `createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)`
  `String[]`
  `getMechanismNames(Map<String,?> props)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### FastSaslServerFactory

    public FastSaslServerFactory(Map<String,?> props)

- ## Method Details

  - ### createSaslServer

    public SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
    Specified by:
      `createSaslServer` in interface `SaslServerFactory`
    Throws:
      `SaslException`

  - ### getMechanismNames

    public String[] getMechanismNames(Map<String,?> props)
    Specified by:
      `getMechanismNames` in interface `SaslServerFactory`