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="2024-09-12T15:07:45.609-07:00")
public class PasswordPolicy
extends Object
An object representing password policy options.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter for maxPasswordLifetimeDays.Getter for minPasswordLength.Getter for minPasswordLifetimeDays.Getter for mustIncludeLowerCaseCharacters.Getter for mustIncludeNumbers.Getter for mustIncludeSymbols.Getter for mustIncludeUpperCaseCharacters.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.toString()
-
Constructor Details
-
PasswordPolicy
public PasswordPolicy()
-
-
Method Details
-
getMaxPasswordLifetimeDays
Getter for maxPasswordLifetimeDays. The maximum lifetime of passwords, in days. If set to '0' passwords never expire. The default is 0. -
setMaxPasswordLifetimeDays
Setter for maxPasswordLifetimeDays. The maximum lifetime of passwords, in days. If set to '0' passwords never expire. The default is 0. -
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
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
Getter for mustIncludeUpperCaseCharacters. Whether passwords must include upper case characters. The default is 'true'. -
setMustIncludeUpperCaseCharacters
Setter for mustIncludeUpperCaseCharacters. Whether passwords must include upper case characters. The default is 'true'. -
getMustIncludeLowerCaseCharacters
Getter for mustIncludeLowerCaseCharacters. Whether passwords must include lower case characters. The default is 'true'. -
setMustIncludeLowerCaseCharacters
Setter for mustIncludeLowerCaseCharacters. Whether passwords must include lower case characters. The default is 'true'. -
getMustIncludeNumbers
Getter for mustIncludeNumbers. Whether passwords must include numbers. The default is 'true'. -
setMustIncludeNumbers
Setter for mustIncludeNumbers. Whether passwords must include numbers. The default is 'true'. -
getMustIncludeSymbols
Getter for mustIncludeSymbols. Whether passwords must include symbols. The symbols are '#', '&', '*', '$', '%', '@', '^', '.', '_', and '!'. The default is 'true'. -
setMustIncludeSymbols
Setter for mustIncludeSymbols. Whether passwords must include symbols. The symbols are '#', '&', '*', '$', '%', '@', '^', '.', '_', and '!'. The default is 'true'. -
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
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
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
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. -
equals
-
hashCode
public int hashCode() -
toString
-