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

## Class UserData

- java.lang.Object
- - org.apache.activemq.artemis.spi.core.security.scram.UserData

-     public class UserData
      extends java.lang.Object

  Wrapper for user data needed for the SCRAM authentication

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `int` | `iterations` | Iterations used to salt the password
    `java.lang.String` | `salt` | Salt
    `java.lang.String` | `serverKey` | Server key
    `java.lang.String` | `storedKey` | Stored key

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `UserData​(java.lang.String salt, int iterations, java.lang.String serverKey, java.lang.String storedKey)` | Creates new UserData

  - ### Method Summary

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

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

- - ### Field Detail

    - #### salt

          public final java.lang.String salt

      Salt

    - #### iterations

          public final int iterations

      Iterations used to salt the password

    - #### serverKey

          public final java.lang.String serverKey

      Server key

    - #### storedKey

          public final java.lang.String storedKey

      Stored key

  - ### Constructor Detail

    - #### UserData

          public UserData​(java.lang.String salt,
                          int iterations,
                          java.lang.String serverKey,
                          java.lang.String storedKey)

      Creates new UserData
      Parameters:
        `salt` - Salt
        `iterations` - Iterations for salting
        `serverKey` - Server key
        `storedKey` - Stored key