Class MPasswordHistory

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_AD_Password_History, I_Persistent, Evaluatee

public class MPasswordHistory extends X_AD_Password_History
See Also:
  • Constructor Details

    • MPasswordHistory

      public MPasswordHistory(Properties ctx, String AD_Password_History_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      AD_Password_History_UU - UUID key
      trxName - Transaction
    • MPasswordHistory

      public MPasswordHistory(Properties ctx, int AD_Password_History_ID, String trxName)
      Parameters:
      ctx -
      AD_Password_History_ID -
      trxName -
    • MPasswordHistory

      public MPasswordHistory(Properties ctx, ResultSet rs, String trxName)
      Parameters:
      ctx -
      rs -
      trxName -
    • MPasswordHistory

      public MPasswordHistory(String salt, String password)
      Parameters:
      salt -
      password -
  • Method Details

    • getPasswordHistoryForCheck

      public static List<MPasswordHistory> getPasswordHistoryForCheck(int daysReuse, int userId)
      get password history records with age <= passwordMaxDay + daysReuse
      Parameters:
      daysReuse - max day can't reuse password, get from password rule
      userId - AD_User_ID
      Returns:
      list of password history record