Class GlobalPwMsgIds
- java.lang.Object
-
- org.apache.directory.fortress.core.impl.GlobalPwMsgIds
-
- All Implemented Interfaces:
Serializable
public final class GlobalPwMsgIds extends Object implements Serializable
This class contains constants that contain status for Fortress password policy checking.- Author:
- Apache Directory Project
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACCOUNT_LOCKED
The User account is locked on the server.static int
ACCOUNT_LOCKED_CONSTRAINTS
The User account is locked.static int
CHANGE_AFTER_RESET
The change after reset flag is set indicating the user must change their password.static int
GOOD
Password policies check out good.static int
HISTORY_VIOLATION
The new password was found in history.static int
INSUFFICIENT_QUALITY
The password is not of sufficient quality.static int
INVALID_PASSWORD_MESSAGE
The processor could not process the password message.static int
MUST_SUPPLY_OLD
The User did not supply their old password when trying to change.static int
NO_CONTROLS_FOUND
The password policy control was not found in the message.static int
NO_MODIFICATIONS
The User is not allowed to modify their password.static int
NOT_OLPW_POLICY_ENABLED
The OPENLDAP password policies are not enforced.static int
NOT_PW_POLICY_ENABLED
The user has no password policies in effect.static int
PASSWORD_EXPIRATION_WARNING
The password is expiring.static int
PASSWORD_GRACE_WARNING
Password in grace.static int
PASSWORD_HAS_EXPIRED
The password has expired.static int
PASSWORD_TOO_SHORT
The new password is too short.static int
PASSWORD_TOO_YOUNG
The new password is too young to be changed.static int
PP_NOWARNING
No warnings are associated with password.
-
Constructor Summary
Constructors Constructor Description GlobalPwMsgIds()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getMessage(int iId)
Return a message that corresponds with error code for User's password.
-
-
-
Field Detail
-
INVALID_PASSWORD_MESSAGE
public static final int INVALID_PASSWORD_MESSAGE
The processor could not process the password message.- See Also:
- Constant Field Values
-
GOOD
public static final int GOOD
Password policies check out good.- See Also:
- Constant Field Values
-
PP_NOWARNING
public static final int PP_NOWARNING
No warnings are associated with password.- See Also:
- Constant Field Values
-
NOT_PW_POLICY_ENABLED
public static final int NOT_PW_POLICY_ENABLED
The user has no password policies in effect.- See Also:
- Constant Field Values
-
NOT_OLPW_POLICY_ENABLED
public static final int NOT_OLPW_POLICY_ENABLED
The OPENLDAP password policies are not enforced.- See Also:
- Constant Field Values
-
NO_CONTROLS_FOUND
public static final int NO_CONTROLS_FOUND
The password policy control was not found in the message.- See Also:
- Constant Field Values
-
PASSWORD_EXPIRATION_WARNING
public static final int PASSWORD_EXPIRATION_WARNING
The password is expiring.- See Also:
- Constant Field Values
-
PASSWORD_GRACE_WARNING
public static final int PASSWORD_GRACE_WARNING
Password in grace.- See Also:
- Constant Field Values
-
PASSWORD_HAS_EXPIRED
public static final int PASSWORD_HAS_EXPIRED
The password has expired.- See Also:
- Constant Field Values
-
ACCOUNT_LOCKED
public static final int ACCOUNT_LOCKED
The User account is locked on the server.- See Also:
- Constant Field Values
-
CHANGE_AFTER_RESET
public static final int CHANGE_AFTER_RESET
The change after reset flag is set indicating the user must change their password.- See Also:
- Constant Field Values
-
NO_MODIFICATIONS
public static final int NO_MODIFICATIONS
The User is not allowed to modify their password.- See Also:
- Constant Field Values
-
MUST_SUPPLY_OLD
public static final int MUST_SUPPLY_OLD
The User did not supply their old password when trying to change.- See Also:
- Constant Field Values
-
INSUFFICIENT_QUALITY
public static final int INSUFFICIENT_QUALITY
The password is not of sufficient quality.- See Also:
- Constant Field Values
-
PASSWORD_TOO_SHORT
public static final int PASSWORD_TOO_SHORT
The new password is too short.- See Also:
- Constant Field Values
-
PASSWORD_TOO_YOUNG
public static final int PASSWORD_TOO_YOUNG
The new password is too young to be changed. This is typically used to prevent users from cycling thru password on forced password change to reuse their previous password (to circumvent history constraints).- See Also:
- Constant Field Values
-
HISTORY_VIOLATION
public static final int HISTORY_VIOLATION
The new password was found in history.- See Also:
- Constant Field Values
-
ACCOUNT_LOCKED_CONSTRAINTS
public static final int ACCOUNT_LOCKED_CONSTRAINTS
The User account is locked.- See Also:
- Constant Field Values
-
-
Method Detail
-
getMessage
public static String getMessage(int iId)
Return a message that corresponds with error code for User's password.- Parameters:
iId
- contains index offset of message.- Returns:
- string containing the error message.
-
-