Class UserPasswordProperties

java.lang.Object
com.broadleafcommerce.auth.user.autoconfigure.UserPasswordProperties

@ConfigurationProperties(prefix="broadleaf.auth.user.password") public class UserPasswordProperties extends Object
Properties to configure certain password settings.
Author:
Nathan Moore (nathandmoore)
  • Constructor Details

    • UserPasswordProperties

      public UserPasswordProperties()
  • Method Details

    • getPasswordMaxLifeDays

      public long getPasswordMaxLifeDays()
      The number of days a password is valid, after which it must be reset. Zero indicate no limit.
    • isForcePasswordResetIfLastUpdatedDateIsNull

      public boolean isForcePasswordResetIfLastUpdatedDateIsNull()
      Whether to force users to reset their passwords if User.getPasswordLastUpdated() is null. This can happen for users created before that field was introduced.
    • setPasswordMaxLifeDays

      public void setPasswordMaxLifeDays(long passwordMaxLifeDays)
      The number of days a password is valid, after which it must be reset. Zero indicate no limit.
    • setForcePasswordResetIfLastUpdatedDateIsNull

      public void setForcePasswordResetIfLastUpdatedDateIsNull(boolean forcePasswordResetIfLastUpdatedDateIsNull)
      Whether to force users to reset their passwords if User.getPasswordLastUpdated() is null. This can happen for users created before that field was introduced.
    • 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