From 8131f39b9e3dbc3eece96eb92013e6617fdc7494 Mon Sep 17 00:00:00 2001
From: david_page <david_page@localhost>
Date: Wed, 28 Feb 2007 14:40:32 +0000
Subject: [PATCH] Replace call to PasswordPolicyState.requireSecureAuthentication with call to PasswordPolicy.requireSecureAuthentication (via PasswordPolicyState.getPolicy). I had missed this call in an earlier commit.
---
opends/src/server/org/opends/server/core/BindOperation.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opends/src/server/org/opends/server/core/BindOperation.java b/opends/src/server/org/opends/server/core/BindOperation.java
index 173af05..4ced7f1 100644
--- a/opends/src/server/org/opends/server/core/BindOperation.java
+++ b/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)))
{
--
Gitblit v1.10.0