Package com.cloudera.cdp.iam.model
Class PasswordPolicy
- java.lang.Object
-
- com.cloudera.cdp.iam.model.PasswordPolicy
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2023-09-27T13:27:54.066-07:00") public class PasswordPolicy extends Object
An object representing password policy options.
-
-
Constructor Summary
Constructors Constructor Description PasswordPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Integer
getMaxPasswordLifetimeDays()
Getter for maxPasswordLifetimeDays.Integer
getMinPasswordLength()
Getter for minPasswordLength.Integer
getMinPasswordLifetimeDays()
Getter for minPasswordLifetimeDays.Boolean
getMustIncludeLowerCaseCharacters()
Getter for mustIncludeLowerCaseCharacters.Boolean
getMustIncludeNumbers()
Getter for mustIncludeNumbers.Boolean
getMustIncludeSymbols()
Getter for mustIncludeSymbols.Boolean
getMustIncludeUpperCaseCharacters()
Getter for mustIncludeUpperCaseCharacters.Integer
getPasswordHistorySize()
Getter for passwordHistorySize.int
hashCode()
void
setMaxPasswordLifetimeDays(Integer maxPasswordLifetimeDays)
Setter for maxPasswordLifetimeDays.void
setMinPasswordLength(Integer minPasswordLength)
Setter for minPasswordLength.void
setMinPasswordLifetimeDays(Integer minPasswordLifetimeDays)
Setter for minPasswordLifetimeDays.void
setMustIncludeLowerCaseCharacters(Boolean mustIncludeLowerCaseCharacters)
Setter for mustIncludeLowerCaseCharacters.void
setMustIncludeNumbers(Boolean mustIncludeNumbers)
Setter for mustIncludeNumbers.void
setMustIncludeSymbols(Boolean mustIncludeSymbols)
Setter for mustIncludeSymbols.void
setMustIncludeUpperCaseCharacters(Boolean mustIncludeUpperCaseCharacters)
Setter for mustIncludeUpperCaseCharacters.void
setPasswordHistorySize(Integer passwordHistorySize)
Setter for passwordHistorySize.String
toString()
-
-
-
Method Detail
-
getMaxPasswordLifetimeDays
public Integer getMaxPasswordLifetimeDays()
Getter for maxPasswordLifetimeDays. The maximum lifetime of passwords, in days. If set to '0' passwords never expire. The default is 0.
-
setMaxPasswordLifetimeDays
public void setMaxPasswordLifetimeDays(Integer maxPasswordLifetimeDays)
Setter for maxPasswordLifetimeDays. The maximum lifetime of passwords, in days. If set to '0' passwords never expire. The default is 0.
-
getMinPasswordLength
public Integer getMinPasswordLength()
Getter for minPasswordLength. The minimum length of a password. Can be any number between 6 and 256. The default minimum password length is 8.
-
setMinPasswordLength
public void setMinPasswordLength(Integer minPasswordLength)
Setter for minPasswordLength. The minimum length of a password. Can be any number between 6 and 256. The default minimum password length is 8.
-
getMustIncludeUpperCaseCharacters
public Boolean getMustIncludeUpperCaseCharacters()
Getter for mustIncludeUpperCaseCharacters. Whether passwords must include upper case characters. The default is 'true'.
-
setMustIncludeUpperCaseCharacters
public void setMustIncludeUpperCaseCharacters(Boolean mustIncludeUpperCaseCharacters)
Setter for mustIncludeUpperCaseCharacters. Whether passwords must include upper case characters. The default is 'true'.
-
getMustIncludeLowerCaseCharacters
public Boolean getMustIncludeLowerCaseCharacters()
Getter for mustIncludeLowerCaseCharacters. Whether passwords must include lower case characters. The default is 'true'.
-
setMustIncludeLowerCaseCharacters
public void setMustIncludeLowerCaseCharacters(Boolean mustIncludeLowerCaseCharacters)
Setter for mustIncludeLowerCaseCharacters. Whether passwords must include lower case characters. The default is 'true'.
-
getMustIncludeNumbers
public Boolean getMustIncludeNumbers()
Getter for mustIncludeNumbers. Whether passwords must include numbers. The default is 'true'.
-
setMustIncludeNumbers
public void setMustIncludeNumbers(Boolean mustIncludeNumbers)
Setter for mustIncludeNumbers. Whether passwords must include numbers. The default is 'true'.
-
getMustIncludeSymbols
public Boolean getMustIncludeSymbols()
Getter for mustIncludeSymbols. Whether passwords must include symbols. The symbols are '#', '&', '*', '$', '%', '@', '^', '.', '_', and '!'. The default is 'true'.
-
setMustIncludeSymbols
public void setMustIncludeSymbols(Boolean mustIncludeSymbols)
Setter for mustIncludeSymbols. Whether passwords must include symbols. The symbols are '#', '&', '*', '$', '%', '@', '^', '.', '_', and '!'. The default is 'true'.
-
getMinPasswordLifetimeDays
public Integer getMinPasswordLifetimeDays()
Getter for minPasswordLifetimeDays. The minimum lifetime of passwords, in days. The password must be used for this duration before it can be changed. If set to '0' the password may be changed any time. The default is 0. The minPasswordLifetimeDays must be greater than maxPasswordLifetimeDays.
-
setMinPasswordLifetimeDays
public void setMinPasswordLifetimeDays(Integer minPasswordLifetimeDays)
Setter for minPasswordLifetimeDays. The minimum lifetime of passwords, in days. The password must be used for this duration before it can be changed. If set to '0' the password may be changed any time. The default is 0. The minPasswordLifetimeDays must be greater than maxPasswordLifetimeDays.
-
getPasswordHistorySize
public Integer getPasswordHistorySize()
Getter for passwordHistorySize. The number of previous passwords that should be remembered. The user or machine user is prevented from reusing these passwords. Can be any number between 0 and 20. The default is 0, this value means all previous passwords may be reused.
-
setPasswordHistorySize
public void setPasswordHistorySize(Integer passwordHistorySize)
Setter for passwordHistorySize. The number of previous passwords that should be remembered. The user or machine user is prevented from reusing these passwords. Can be any number between 0 and 20. The default is 0, this value means all previous passwords may be reused.
-
-