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 booleancanEqual(Object other)booleanequals(Object o)StringgetChars()The character set to use when generating password tokensIntegergetLength()The length of a generated password tokenDurationgetTtl()How long a password reset token is valid for.inthashCode()voidsetChars(String chars)The character set to use when generating password tokensvoidsetLength(Integer length)The length of a generated password tokenvoidsetTtl(Duration ttl)How long a password reset token is valid for.StringtoString()
-
-
-
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)
-
-