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

david_page
03.43.2007 89694e669582d9e2e5a5710502194571397a162e
Issue [1247] Password policy check and password encoding performed for internal and synchronization operations.

The previous commit eliminated password policy evaluation (including password encoding) for internal operations. Apparently, that is wrong, so restore it, but leave the exclusion of pwp processing for synchronization operations.
1 files modified
4 ■■■■ changed files
opends/src/server/org/opends/server/core/AddOperation.java 4 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/core/AddOperation.java
@@ -1352,12 +1352,12 @@
          break addProcessing;
        }
        // If it's not an internal or synchronization operation, then check
        // If it's not a synchronization operation, then check
        // to see if the entry contains one or more passwords and if they
        // are valid in accordance with the password policies associated with
        // the user.  Also perform any encoding that might be required by
        // password storage schemes.
        if (! (isInternalOperation() || isSynchronizationOperation()))
        if (! isSynchronizationOperation())
        {
          // FIXME -- We need to check to see if the password policy subentry
          //          might be specified virtually rather than as a real