org.apache.activemq.artemis.spi.core.security.jaas

## Class JaasCallbackHandler

- java.lang.Object
- - org.apache.activemq.artemis.spi.core.security.jaas.JaasCallbackHandler

- All Implemented Interfaces:
    CallbackHandler

      public class JaasCallbackHandler
      extends Object
      implements CallbackHandler

  A JAAS username password CallbackHandler.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JaasCallbackHandler(String username, String password, RemotingConnection remotingConnection)`

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

    - #### JaasCallbackHandler

          public JaasCallbackHandler(String username,
                                     String password,
                                     RemotingConnection remotingConnection)

  - ### Method Detail

    - #### handle

          public void handle(Callback[] callbacks)
                      throws IOException,
                             UnsupportedCallbackException

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

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