Package 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:
    `javax.security.auth.callback.CallbackHandler`

      public class JaasCallbackHandler
      extends java.lang.Object
      implements javax.security.auth.callback.CallbackHandler

  A JAAS username password CallbackHandler.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `JaasCallbackHandler​(java.lang.String username, java.lang.String password, RemotingConnection remotingConnection)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `handle​(javax.security.auth.callback.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​(java.lang.String username,
                                     java.lang.String password,
                                     RemotingConnection remotingConnection)

  - ### Method Detail

    - #### handle

          public void handle​(javax.security.auth.callback.Callback[] callbacks)
                      throws java.io.IOException,
                             javax.security.auth.callback.UnsupportedCallbackException

      Specified by:
        `handle` in interface `javax.security.auth.callback.CallbackHandler`
      Throws:
        `java.io.IOException`
        `javax.security.auth.callback.UnsupportedCallbackException`