org.apache.storm.security.auth.kerberos

## Class ServerCallbackHandler

- java.lang.Object
- - org.apache.storm.security.auth.kerberos.ServerCallbackHandler

- All Implemented Interfaces:
    CallbackHandler

      public class ServerCallbackHandler
      extends Object
      implements CallbackHandler

  SASL server side callback handler for kerberos auth.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ServerCallbackHandler(Map<String,Object> topoConf, boolean impersonationAllowed)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `handle(Callback[] callbacks)`

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

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

- - ### Constructor Detail

    - #### ServerCallbackHandler

          public ServerCallbackHandler(Map<String,Object> topoConf,
                                       boolean impersonationAllowed)
                                throws IOException

      Throws:
        `IOException`

  - ### Method Detail

    - #### handle

          public void handle(Callback[] callbacks)
                      throws UnsupportedCallbackException

      Specified by:
        `handle` in interface `CallbackHandler`
      Throws:
        `UnsupportedCallbackException`

Copyright © 2021 The Apache Software Foundation. All rights reserved.