Class PasswordTokenProperties


  • @ConfigurationProperties("broadleaf.auth.password.token")
    public class PasswordTokenProperties
    extends Object
    Author:
    Phillip Verheyden (phillipuniverse)
    • Constructor Detail

      • PasswordTokenProperties

        public PasswordTokenProperties()
    • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object