Package net.solarnetwork.node.setup
Class UserAuthenticationInfo
java.lang.Object
net.solarnetwork.node.setup.UserAuthenticationInfo
Details about user authentication, to support API authentication methods.
- Since:
- 1.89
- Version:
- 1.0
- Author:
- matt
-
Constructor Summary
ConstructorsConstructorDescriptionUserAuthenticationInfo(String hashAlgorithm, Map<String, ?> hashParameters) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the hash algorithm name.Get the optional hash algorithm parameters.
-
Constructor Details
-
UserAuthenticationInfo
Constructor.- Parameters:
hashAlgorithm- the hashing algorithm used for passwordshashParameters- optional hash parameters, algorithm-specific- Throws:
IllegalArgumentException- ifhashAlgorithmis null
-
-
Method Details
-
getHashAlgorithm
Get the hash algorithm name.- Returns:
- the hash algorithm name, never null
-
getHashParameters
Get the optional hash algorithm parameters.- Returns:
- the hash parameters, never null
-