Create a new error log category for messages related to the Directory Server
password policy.
| | |
| | | |
| | | |
| | | /** |
| | | * The message ID for the string that will be used for the error log category |
| | | * for messages related to password policy processing. |
| | | */ |
| | | public static final int MSGID_ERROR_CATEGORY_PASSWORD_POLICY = |
| | | CATEGORY_MASK_CORE | SEVERITY_MASK_INFORMATIONAL | 546; |
| | | |
| | | |
| | | |
| | | /** |
| | | * Associates a set of generic messages with the message IDs defined |
| | | * in this class. |
| | | */ |
| | |
| | | registerMessage(MSGID_ERROR_CATEGORY_EXTENDED_OPERATION, |
| | | ERROR_CATEGORY_EXTENDED_OPERATION); |
| | | registerMessage(MSGID_ERROR_CATEGORY_EXTENSIONS, ERROR_CATEGORY_EXTENSIONS); |
| | | registerMessage(MSGID_ERROR_CATEGORY_PASSWORD_POLICY, |
| | | ERROR_CATEGORY_PASSWORD_POLICY); |
| | | registerMessage(MSGID_ERROR_CATEGORY_PLUGIN, ERROR_CATEGORY_PLUGIN); |
| | | registerMessage(MSGID_ERROR_CATEGORY_REQUEST_HANDLING, |
| | | ERROR_CATEGORY_REQUEST); |
| | |
| | | |
| | | /** |
| | | * The error log category that will be used for messages related to |
| | | * password policy processing. |
| | | */ |
| | | PASSWORD_POLICY(MSGID_ERROR_CATEGORY_PASSWORD_POLICY), |
| | | |
| | | |
| | | |
| | | /** |
| | | * The error log category that will be used for messages related to |
| | | * plugin processing. |
| | | */ |
| | | PLUGIN(MSGID_ERROR_CATEGORY_PLUGIN), |
| | |
| | | nameMap.put(ERROR_CATEGORY_EXTENDED_OPERATION, |
| | | EXTENDED_OPERATION); |
| | | nameMap.put(ERROR_CATEGORY_EXTENSIONS, EXTENSIONS); |
| | | nameMap.put(ERROR_CATEGORY_PASSWORD_POLICY, PASSWORD_POLICY); |
| | | nameMap.put(ERROR_CATEGORY_PLUGIN, PLUGIN); |
| | | nameMap.put(ERROR_CATEGORY_REQUEST, REQUEST_HANDLING); |
| | | nameMap.put(ERROR_CATEGORY_SASL_MECHANISM, SASL_MECHANISM); |
| | |
| | | |
| | | |
| | | /** |
| | | * The English name for the error log category used for password policy |
| | | * processing. |
| | | */ |
| | | public static final String ERROR_CATEGORY_PASSWORD_POLICY = "PW_POLICY"; |
| | | |
| | | |
| | | |
| | | /** |
| | | * The English name for the error log category used for plugin processing. |
| | | */ |
| | | public static final String ERROR_CATEGORY_PLUGIN = "PLUGIN"; |