From e627deb0b7849bb8119b9566dd093b92ce9a2dbd Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Wed, 02 Aug 2006 20:31:50 +0000
Subject: [PATCH] Add a new account expiration feature to the password policy. This will make it possible for accounts to be given an expiration time, after which it will not be possible to authenticate as that user or target that user with the proxied authorization control.
---
opends/src/server/org/opends/server/messages/CoreMessages.java | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/messages/CoreMessages.java b/opends/src/server/org/opends/server/messages/CoreMessages.java
index d7a8b95..cb90115 100644
--- a/opends/src/server/org/opends/server/messages/CoreMessages.java
+++ b/opends/src/server/org/opends/server/messages/CoreMessages.java
@@ -5568,6 +5568,16 @@
/**
+ * The message ID for the message that will be used if a user tries to
+ * authenticate using an expired account. This takes a single argument, which
+ * is the DN of the user.
+ */
+ public static final int MSGID_BIND_OPERATION_ACCOUNT_EXPIRED =
+ CATEGORY_MASK_CORE | SEVERITY_MASK_MILD_ERROR | 531;
+
+
+
+ /**
* Associates a set of generic messages with the message IDs defined
* in this class.
*/
@@ -7497,6 +7507,9 @@
registerMessage(MSGID_BIND_OPERATION_ACCOUNT_DISABLED,
"Rejecting a bind request for user %s because the " +
"account has been administrative disabled.");
+ registerMessage(MSGID_BIND_OPERATION_ACCOUNT_EXPIRED,
+ "Rejecting a bind request for user %s because the " +
+ "account has expired.");
registerMessage(MSGID_BIND_OPERATION_ACCOUNT_FAILURE_LOCKED,
"Rejecting a bind request for user %s because the " +
"account has been locked due to too many failed " +
--
Gitblit v1.10.0