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

    All Methods Instance Methods Concrete Methods
    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 Detail

    - #### SaslPlainServerFactory

          public SaslPlainServerFactory()

  - ### Method Detail

    - #### 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`