Package org.apache.storm.security.auth.plain

# 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

  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

  - ### 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 interface `SaslServerFactory`
    Throws:
      `SaslException`

  - ### getMechanismNames

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