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

## Class HmacCallback

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

- All Implemented Interfaces:
    Callback

      public class HmacCallback
      extends Object
      implements Callback

  Callback for obtaining information about a used H`Mac`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HmacCallback()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Mac` | `getHmac()`
    `void` | `setHmac(Mac hmac)` set the Hmac to use

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

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

- - ### Constructor Detail

    - #### HmacCallback

          public HmacCallback()

  - ### Method Detail

    - #### setHmac

          public void setHmac(Mac hmac)

      set the Hmac to use
      Parameters:
        `hmac` -

    - #### getHmac

          public Mac getHmac()

      Returns:
        the Hmac or `null` if non could be obtained

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