Class UserAuthenticationInfo

java.lang.Object
net.solarnetwork.node.setup.UserAuthenticationInfo

public class UserAuthenticationInfo extends Object
Details about user authentication, to support API authentication methods.
Since:
1.89
Version:
1.0
Author:
matt
  • Constructor Details

    • UserAuthenticationInfo

      public UserAuthenticationInfo(String hashAlgorithm, Map<String,?> hashParameters)
      Constructor.
      Parameters:
      hashAlgorithm - the hashing algorithm used for passwords
      hashParameters - optional hash parameters, algorithm-specific
      Throws:
      IllegalArgumentException - if hashAlgorithm is null
  • Method Details

    • getHashAlgorithm

      public String getHashAlgorithm()
      Get the hash algorithm name.
      Returns:
      the hash algorithm name, never null
    • getHashParameters

      public Map<String,?> getHashParameters()
      Get the optional hash algorithm parameters.
      Returns:
      the hash parameters, never null