From b0dcf7ff30231ec5fb505180453035682582e573 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Wed, 15 Nov 2006 16:25:47 +0000
Subject: [PATCH] Update the password policy implementation to use ds-pwp-password-policy-dn instead of pwdPolicySubentry for indicating which password policy should be applied for a given user.  The new attribute is not marked NO-USER-MODIFICATION so that it can be directly altered by administrators in addition to having a value populated by a virtual attribute.  The pwdPolicySubentry attribute is defined in the IETF draft as NO-USER-MODIFICATION and is only intended to be virtually defined, making it more difficult to configure a special policy for an individual user.

---
 opendj-sdk/opends/src/server/org/opends/server/config/ConfigConstants.java |   13 ++-----------
 1 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/config/ConfigConstants.java b/opendj-sdk/opends/src/server/org/opends/server/config/ConfigConstants.java
index 23acae5..618fc78 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/config/ConfigConstants.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/config/ConfigConstants.java
@@ -3176,17 +3176,8 @@
    * The name of the operational attribute that will appear in a user's entry to
    * indicate which password policy should be used.
    */
-  public static final String OP_ATTR_PWPOLICY_SUBENTRY =
-       "pwdPolicySubentry";
-
-
-
-  /**
-   * The name of the password policy subentry attribute, in all lowercase
-   * characters.
-   */
-  public static final String OP_ATTR_PWPOLICY_SUBENTRY_LC =
-       "pwdpolicysubentry";
+  public static final String OP_ATTR_PWPOLICY_POLICY_DN =
+       "ds-pwp-password-policy-dn";
 
 
 

--
Gitblit v1.10.0