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(Configuration configuration, 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(Configuration configuration,
                                       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 © 2019 The Apache Software Foundation. All rights reserved.