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

david_page
28.41.2007 916fd4989bf801671aa1da38b285f65ce3955372
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
opendj-sdk/opends/src/server/org/opends/server/extensions/PasswordModifyExtendedOperation.java 2 ●●● patch | view | raw | blame | history
opendj-sdk/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);