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 Details

    • PasswordTokenProperties

      public PasswordTokenProperties()
  • Method Details

    • 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
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object