mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
02.02.2011 67b7b5c3db6ace06a1cabac3c7c72938bd785c7a
OPENDJ-341: Sub-entry password policy force change on add always inherits from default PWP

Add comment explaining why isForceChangeOnAdd does not use the pwdMustChange setting from the PWP sub-entry.
1 files modified
2 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/core/SubentryPasswordPolicy.java 2 ●●●●● patch | view | raw | blame | history
opendj-sdk/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();
  }