Package org.bremersee.dccon.model
Class PasswordInformation
- java.lang.Object
-
- org.bremersee.dccon.model.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 Summary
Constructors Constructor Description PasswordInformation(PasswordComplexity passwordComplexity, Boolean storePlaintextPasswords, Integer passwordHistoryLength, Integer minimumPasswordLength, Integer minimumPasswordAgeInDays, Integer maximumPasswordAgeInDays, Integer accountLockoutDurationInMinutes, Integer accountLockoutThreshold, Integer resetAccountLockoutAfter)
Instantiates a new Password information.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setAccountLockoutDurationInMinutes(Integer accountLockoutDurationInMinutes)
Sets account lockout duration in minutes.void
setAccountLockoutThreshold(Integer accountLockoutThreshold)
Sets account lockout threshold.void
setMaximumPasswordAgeInDays(Integer maximumPasswordAgeInDays)
Sets maximum password age in days.void
setMinimumPasswordAgeInDays(Integer minimumPasswordAgeInDays)
Sets minimum password age in days.void
setMinimumPasswordLength(Integer minimumPasswordLength)
Sets minimum password length.void
setPasswordComplexity(PasswordComplexity passwordComplexity)
Sets password complexity.void
setPasswordHistoryLength(Integer passwordHistoryLength)
Sets password history length.void
setResetAccountLockoutAfter(Integer resetAccountLockoutAfter)
Sets reset account lockout after.void
setStorePlaintextPasswords(Boolean storePlaintextPasswords)
Sets store plaintext passwords.
-
-
-
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 complexitystorePlaintextPasswords
- the store plaintext passwordspasswordHistoryLength
- the password history lengthminimumPasswordLength
- the minimum password lengthminimumPasswordAgeInDays
- the minimum password age in daysmaximumPasswordAgeInDays
- the maximum password age in daysaccountLockoutDurationInMinutes
- the account lockout duration in minutesaccountLockoutThreshold
- the account lockout thresholdresetAccountLockoutAfter
- 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
-
-