Class PasswordTokenProperties
- java.lang.Object
-
- com.broadleafcommerce.auth.user.validation.autoconfigure.PasswordTokenProperties
-
@ConfigurationProperties("broadleaf.auth.password.token") public class PasswordTokenProperties extends Object
- Author:
- Phillip Verheyden (phillipuniverse)
-
-
Constructor Summary
Constructors Constructor Description PasswordTokenProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getChars()
The character set to use when generating password tokensInteger
getLength()
The length of a generated password tokenDuration
getTtl()
How long a password reset token is valid for.int
hashCode()
void
setChars(String chars)
The character set to use when generating password tokensvoid
setLength(Integer length)
The length of a generated password tokenvoid
setTtl(Duration ttl)
How long a password reset token is valid for.String
toString()
-
-
-
Method Detail
-
getTtl
public Duration getTtl()
How long a password reset token is valid for. A negative or 0 value indicates that once a password token is generated it is valid forever (no expiration)
-
getChars
public String getChars()
The character set to use when generating password tokens
-
getLength
public Integer getLength()
The length of a generated password token
-
setTtl
public void setTtl(Duration ttl)
How long a password reset token is valid for. A negative or 0 value indicates that once a password token is generated it is valid forever (no expiration)
-
setChars
public void setChars(String chars)
The character set to use when generating password tokens
-
setLength
public void setLength(Integer length)
The length of a generated password token
-
canEqual
protected boolean canEqual(Object other)
-
-