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, X509Certificate[] certs)`

  - ### 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,
                                     X509Certificate[] certs)

  - ### Method Detail

    - #### handle

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

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

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