| | |
| | | |
| | | // 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; |
| | |
| | | break bindProcessing; |
| | | } |
| | | |
| | | if (pwPolicyState.requireSecureAuthentication() && |
| | | if (pwPolicyState.getPolicy().requireSecureAuthentication() && |
| | | (! clientConnection.isSecure()) && |
| | | (! saslHandler.isSecure(saslMechanism))) |
| | | { |