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

## Class DigestCallback

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

- All Implemented Interfaces:
    Callback

      public class DigestCallback
      extends Object
      implements Callback

  Callback to obtain a `MessageDigest` for login purpose

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DigestCallback()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `MessageDigest` | `getDigest()`
    `void` | `setDigest(MessageDigest digest)` set the digest to use

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

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

- - ### Constructor Detail

    - #### DigestCallback

          public DigestCallback()

  - ### Method Detail

    - #### setDigest

          public void setDigest(MessageDigest digest)

      set the digest to use
      Parameters:
        `digest` - the digest

    - #### getDigest

          public MessageDigest getDigest()

      Returns:
        the digest or `null` if not known

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