Class PasswordInformation

  • All Implemented Interfaces:
    Serializable

    @Validated
    public class PasswordInformation
    extends Object
    implements Serializable
    The password information of the domain controller.
    Author:
    Christian Bremer
    See Also:
    Serialized Form
    • Constructor Detail

      • PasswordInformation

        public PasswordInformation​(PasswordComplexity passwordComplexity,
                                   Boolean storePlaintextPasswords,
                                   Integer passwordHistoryLength,
                                   Integer minimumPasswordLength,
                                   Integer minimumPasswordAgeInDays,
                                   Integer maximumPasswordAgeInDays,
                                   Integer accountLockoutDurationInMinutes,
                                   Integer accountLockoutThreshold,
                                   Integer resetAccountLockoutAfter)
        Instantiates a new Password information.
        Parameters:
        passwordComplexity - the password complexity
        storePlaintextPasswords - the store plaintext passwords
        passwordHistoryLength - the password history length
        minimumPasswordLength - the minimum password length
        minimumPasswordAgeInDays - the minimum password age in days
        maximumPasswordAgeInDays - the maximum password age in days
        accountLockoutDurationInMinutes - the account lockout duration in minutes
        accountLockoutThreshold - the account lockout threshold
        resetAccountLockoutAfter - the reset account lockout after
    • Method Detail

      • setPasswordComplexity

        public void setPasswordComplexity​(PasswordComplexity passwordComplexity)
        Sets password complexity.
        Parameters:
        passwordComplexity - the password complexity
      • setStorePlaintextPasswords

        public void setStorePlaintextPasswords​(Boolean storePlaintextPasswords)
        Sets store plaintext passwords.
        Parameters:
        storePlaintextPasswords - the store plaintext passwords
      • setPasswordHistoryLength

        public void setPasswordHistoryLength​(Integer passwordHistoryLength)
        Sets password history length.
        Parameters:
        passwordHistoryLength - the password history length
      • setMinimumPasswordLength

        public void setMinimumPasswordLength​(Integer minimumPasswordLength)
        Sets minimum password length.
        Parameters:
        minimumPasswordLength - the minimum password length
      • setMinimumPasswordAgeInDays

        public void setMinimumPasswordAgeInDays​(Integer minimumPasswordAgeInDays)
        Sets minimum password age in days.
        Parameters:
        minimumPasswordAgeInDays - the minimum password age in days
      • setMaximumPasswordAgeInDays

        public void setMaximumPasswordAgeInDays​(Integer maximumPasswordAgeInDays)
        Sets maximum password age in days.
        Parameters:
        maximumPasswordAgeInDays - the maximum password age in days
      • setAccountLockoutDurationInMinutes

        public void setAccountLockoutDurationInMinutes​(Integer accountLockoutDurationInMinutes)
        Sets account lockout duration in minutes.
        Parameters:
        accountLockoutDurationInMinutes - the account lockout duration in minutes
      • setAccountLockoutThreshold

        public void setAccountLockoutThreshold​(Integer accountLockoutThreshold)
        Sets account lockout threshold.
        Parameters:
        accountLockoutThreshold - the account lockout threshold
      • setResetAccountLockoutAfter

        public void setResetAccountLockoutAfter​(Integer resetAccountLockoutAfter)
        Sets reset account lockout after.
        Parameters:
        resetAccountLockoutAfter - the reset account lockout after