Class UserData


  • public class UserData
    extends Object
    Wrapper for user data needed for the SCRAM authentication
    • 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