PasswordPolicy¶
- class oci.identity.models.PasswordPolicy(**kwargs)¶
Bases:
objectPassword policy, currently set for the given compartment.
Methods:
__init__(**kwargs)Initializes a new PasswordPolicy object with values from keyword arguments.
Attributes:
Gets the is_lowercase_characters_required of this PasswordPolicy.
Gets the is_numeric_characters_required of this PasswordPolicy.
Gets the is_special_characters_required of this PasswordPolicy.
Gets the is_uppercase_characters_required of this PasswordPolicy.
Gets the is_username_containment_allowed of this PasswordPolicy.
Gets the minimum_password_length of this PasswordPolicy.
- __init__(**kwargs)¶
Initializes a new PasswordPolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
minimum_password_length (int) – The value to assign to the minimum_password_length property of this PasswordPolicy.
is_uppercase_characters_required (bool) – The value to assign to the is_uppercase_characters_required property of this PasswordPolicy.
is_lowercase_characters_required (bool) – The value to assign to the is_lowercase_characters_required property of this PasswordPolicy.
is_numeric_characters_required (bool) – The value to assign to the is_numeric_characters_required property of this PasswordPolicy.
is_special_characters_required (bool) – The value to assign to the is_special_characters_required property of this PasswordPolicy.
is_username_containment_allowed (bool) – The value to assign to the is_username_containment_allowed property of this PasswordPolicy.
- property is_lowercase_characters_required¶
Gets the is_lowercase_characters_required of this PasswordPolicy. At least one lower case character required.
- Returns
The is_lowercase_characters_required of this PasswordPolicy.
- Return type
bool
- property is_numeric_characters_required¶
Gets the is_numeric_characters_required of this PasswordPolicy. At least one numeric character required.
- Returns
The is_numeric_characters_required of this PasswordPolicy.
- Return type
bool
- property is_special_characters_required¶
Gets the is_special_characters_required of this PasswordPolicy. At least one special character required.
- Returns
The is_special_characters_required of this PasswordPolicy.
- Return type
bool
- property is_uppercase_characters_required¶
Gets the is_uppercase_characters_required of this PasswordPolicy. At least one uppercase character required.
- Returns
The is_uppercase_characters_required of this PasswordPolicy.
- Return type
bool
- property is_username_containment_allowed¶
Gets the is_username_containment_allowed of this PasswordPolicy. User name is allowed to be part of the password.
- Returns
The is_username_containment_allowed of this PasswordPolicy.
- Return type
bool
- property minimum_password_length¶
Gets the minimum_password_length of this PasswordPolicy. Minimum password length required.
- Returns
The minimum_password_length of this PasswordPolicy.
- Return type
int