From 202e7d2e363ac605c92466bf73f8b6c89b59c2bf Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Wed, 02 Nov 2011 11:02:30 +0000
Subject: [PATCH] OPENDJ-341: Sub-entry password policy force change on add always inherits from default PWP
---
opends/src/server/org/opends/server/core/SubentryPasswordPolicy.java | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/core/SubentryPasswordPolicy.java b/opends/src/server/org/opends/server/core/SubentryPasswordPolicy.java
index 3d52026..b87335c 100644
--- a/opends/src/server/org/opends/server/core/SubentryPasswordPolicy.java
+++ b/opends/src/server/org/opends/server/core/SubentryPasswordPolicy.java
@@ -622,6 +622,8 @@
*/
public boolean isForceChangeOnAdd()
{
+ // Don't use pwdMustChange since the password provided when the entry was
+ // added may have been provided by the user. See OPENDJ-341.
return getDefaultPasswordPolicy().isForceChangeOnAdd();
}
--
Gitblit v1.10.0