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:
    Callback

      public class SCRAMMechanismCallback
      extends Object
      implements Callback

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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SCRAMMechanismCallback()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getMechanism()`
    `void` | `setMechanism(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(String name)

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

    - #### getMechanism

          public String getMechanism()

      Returns:
        the name of the mechanism

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