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 Object

  Wrapper for user data needed for the SCRAM authentication

- - ### Field Summary

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

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `UserData(String salt, int iterations, String serverKey, 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 String salt

      Salt

    - #### iterations

          public final int iterations

      Iterations used to salt the password

    - #### serverKey

          public final String serverKey

      Server key

    - #### storedKey

          public final String storedKey

      Stored key

  - ### Constructor Detail

    - #### UserData

          public UserData(String salt,
                          int iterations,
                          String serverKey,
                          String storedKey)

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

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