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

david_page
28.41.2007 a7c6736c17404a063d989bebec0bfac23f2fa937
Replace call to PasswordPolicyState.requireSecureAuthentication with call to
PasswordPolicy.requireSecureAuthentication (via PasswordPolicyState.getPolicy).
I had missed this call in an earlier commit.
1 files modified
2 ■■■ changed files
opends/src/server/org/opends/server/extensions/PasswordModifyExtendedOperation.java 2 ●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/extensions/PasswordModifyExtendedOperation.java
@@ -614,7 +614,7 @@
      }
      else
      {
        if (pwPolicyState.requireSecureAuthentication() &&
        if (pwPolicyState.getPolicy().requireSecureAuthentication() &&
            (! operation.getClientConnection().isSecure()))
        {
          operation.setResultCode(ResultCode.INVALID_CREDENTIALS);