Class MPasswordHistory

    • Constructor Detail

      • MPasswordHistory

        public MPasswordHistory​(Properties ctx,
                                int AD_Password_History_ID,
                                String trxName)
      • MPasswordHistory

        public MPasswordHistory​(String salt,
                                String password)
    • Method Detail

      • getPasswordHistoryForCheck

        public static List<MPasswordHistory> getPasswordHistoryForCheck​(int daysReuse,
                                                                        int userId)
        get list password history has age <= passwordMaxDay + daysReuse
        Parameters:
        daysReuse - max day can't reuse password, get from password rule
        userId -
        Returns:
      • setAD_User_ID

        public void setAD_User_ID​(int AD_User_ID)
        Set User/Contact.
        Specified by:
        setAD_User_ID in interface I_AD_Password_History
        Overrides:
        setAD_User_ID in class X_AD_Password_History
        Parameters:
        AD_User_ID - User within the system - Internal or Business Partner Contact Overridden to allow saving System record (zero ID) http://wiki.idempiere.org/en/System_user