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

Package org.apache.hadoop.security

# Class FastSaslClientFactory

java.lang.Object
org.apache.hadoop.security.FastSaslClientFactory

All Implemented Interfaces:
  `SaslClientFactory`

@LimitedPrivate({"HDFS","MapReduce"}) public class FastSaslClientFactory extends Object implements SaslClientFactory
Class for dealing with caching SASL client factories.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `FastSaslClientFactory(Map<String,?> props)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `SaslClient`
  `createSaslClient(String[] mechanisms, String authorizationId, 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

  - ### FastSaslClientFactory

    public FastSaslClientFactory(Map<String,?> props)

- ## Method Details

  - ### getMechanismNames

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

  - ### createSaslClient

    public SaslClient createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
    Specified by:
      `createSaslClient` in interface `SaslClientFactory`
    Throws:
      `SaslException`