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

## Class SCRAMMechanismCallback

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

- All Implemented Interfaces:
    `javax.security.auth.callback.Callback`

      public class SCRAMMechanismCallback
      extends java.lang.Object
      implements javax.security.auth.callback.Callback

  callback to obtain the a mechanism used in a SASL-SCRAM authentication

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SCRAMMechanismCallback()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | `getMechanism()` |
    `void` | `setMechanism​(java.lang.String name)` | sets the name of the mechanism

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

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

- - ### Constructor Detail

    - #### SCRAMMechanismCallback

          public SCRAMMechanismCallback()

  - ### Method Detail

    - #### setMechanism

          public void setMechanism​(java.lang.String name)

      sets the name of the mechanism
      Parameters:
        `name` - the name of the mechanism

    - #### getMechanism

          public java.lang.String getMechanism()

      Returns:
        the name of the mechanism