Record Class LLServerHashedPassword
java.lang.Object
java.lang.Record
com.io7m.looseleaf.server.api.LLServerHashedPassword
-
Constructor Summary
ConstructorsConstructorDescriptionLLServerHashedPassword(String algorithm, String salt, String hash) A hashed password. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealgorithmrecord component.final booleanIndicates whether some other object is "equal to" this one.hash()Returns the value of thehashrecord component.final inthashCode()Returns a hash code value for this object.salt()Returns the value of thesaltrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LLServerHashedPassword
-
-
Method Details
-
asPassword
- Returns:
- The configuration as a password
- Throws:
LLPasswordException- On errors
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
algorithm
-
salt
-
hash
-