Class PasswordManagementCoreProperties
java.lang.Object
org.apereo.cas.configuration.model.support.pm.PasswordManagementCoreProperties
- All Implemented Interfaces:
Serializable
,CasFeatureModule
@RequiresModule(name="cas-server-support-pm-webflow")
public class PasswordManagementCoreProperties
extends Object
implements CasFeatureModule, Serializable
This is
PasswordManagementCoreProperties
.- Since:
- 6.4.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apereo.cas.configuration.features.CasFeatureModule
CasFeatureModule.FeatureCatalog
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe character set that CAS may use to generate and suggest new passwords.long
The password length used by CAS when suggesting generated passwords.A String value representing password policy regex pattern.boolean
Flag to indicate whether successful password change should trigger login automatically.boolean
Flag to indicate if password management facility is enabled.setAutoLogin
(boolean autoLogin) Flag to indicate whether successful password change should trigger login automatically.setEnabled
(boolean enabled) Flag to indicate if password management facility is enabled.setPasswordPolicyCharacterSet
(String passwordPolicyCharacterSet) The character set that CAS may use to generate and suggest new passwords.setPasswordPolicyPasswordLength
(long passwordPolicyPasswordLength) The password length used by CAS when suggesting generated passwords.setPasswordPolicyPattern
(String passwordPolicyPattern) A String value representing password policy regex pattern.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apereo.cas.configuration.features.CasFeatureModule
isDefined, isUndefined
-
Constructor Details
-
PasswordManagementCoreProperties
public PasswordManagementCoreProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Flag to indicate if password management facility is enabled. -
isAutoLogin
public boolean isAutoLogin()Flag to indicate whether successful password change should trigger login automatically. -
getPasswordPolicyPattern
A String value representing password policy regex pattern. Minimum 8 and Maximum 10 characters at least 1 Uppercase Alphabet, 1 Lowercase Alphabet, 1 Number and 1 Special Character. -
getPasswordPolicyCharacterSet
The character set that CAS may use to generate and suggest new passwords. -
getPasswordPolicyPasswordLength
public long getPasswordPolicyPasswordLength()The password length used by CAS when suggesting generated passwords. -
setEnabled
Flag to indicate if password management facility is enabled.- Returns:
this
.
-
setAutoLogin
Flag to indicate whether successful password change should trigger login automatically.- Returns:
this
.
-
setPasswordPolicyPattern
A String value representing password policy regex pattern. Minimum 8 and Maximum 10 characters at least 1 Uppercase Alphabet, 1 Lowercase Alphabet, 1 Number and 1 Special Character.- Returns:
this
.
-
setPasswordPolicyCharacterSet
public PasswordManagementCoreProperties setPasswordPolicyCharacterSet(String passwordPolicyCharacterSet) The character set that CAS may use to generate and suggest new passwords.- Returns:
this
.
-
setPasswordPolicyPasswordLength
public PasswordManagementCoreProperties setPasswordPolicyPasswordLength(long passwordPolicyPasswordLength) The password length used by CAS when suggesting generated passwords.- Returns:
this
.
-