Package io.agroal.api.security
Class SimplePassword
- java.lang.Object
-
- io.agroal.api.security.SimplePassword
-
- All Implemented Interfaces:
Serializable
public class SimplePassword extends Object implements Serializable
Credential that holds a secret string of characters to be used for authentication.- Author:
- Luis Barreiro
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimplePassword(char[] password)
SimplePassword(String password)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Properties
asProperties()
boolean
equals(Object o)
String
getWord()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
SimplePassword
public SimplePassword(String password)
-
SimplePassword
public SimplePassword(char[] password)
-
-
Method Detail
-
getWord
public String getWord()
-
asProperties
public Properties asProperties()
-
-