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

david_page
28.40.2007 0ae514660c9256036cbd7d5c44d6e1e27685888e
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
4 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/core/BindOperation.java 4 ●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/core/BindOperation.java
@@ -1280,7 +1280,7 @@
            // Check to see if the authentication must be done in a secure
            // manner.  If so, then the client connection must be secure.
            if (pwPolicyState.requireSecureAuthentication() &&
            if (pwPolicyState.getPolicy().requireSecureAuthentication() &&
                (! clientConnection.isSecure()))
            {
              int    msgID   = MSGID_BIND_OPERATION_INSECURE_SIMPLE_BIND;
@@ -1820,7 +1820,7 @@
              break bindProcessing;
            }
            if (pwPolicyState.requireSecureAuthentication() &&
            if (pwPolicyState.getPolicy().requireSecureAuthentication() &&
                (! clientConnection.isSecure()) &&
                (! saslHandler.isSecure(saslMechanism)))
            {