From 82cb8345e89f675edabde486d9d259558ef0ee0a Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 09 Sep 2011 18:56:42 +0000
Subject: [PATCH] Issue OPENDJ-262: Implement pass through authentication (PTA)

---
 opends/src/server/org/opends/server/extensions/LDAPPassThroughAuthenticationPolicyFactory.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opends/src/server/org/opends/server/extensions/LDAPPassThroughAuthenticationPolicyFactory.java b/opends/src/server/org/opends/server/extensions/LDAPPassThroughAuthenticationPolicyFactory.java
index 1eb7344..ad6ae4c 100644
--- a/opends/src/server/org/opends/server/extensions/LDAPPassThroughAuthenticationPolicyFactory.java
+++ b/opends/src/server/org/opends/server/extensions/LDAPPassThroughAuthenticationPolicyFactory.java
@@ -40,7 +40,7 @@
 import java.util.LinkedList;
 import java.util.List;
 import java.util.Set;
-import java.util.concurrent.LinkedBlockingQueue;
+import java.util.concurrent.ConcurrentLinkedQueue;
 import java.util.concurrent.Semaphore;
 import java.util.concurrent.atomic.AtomicInteger;
 import java.util.concurrent.locks.ReentrantReadWriteLock;
@@ -988,8 +988,8 @@
       private final int poolSize =
         Runtime.getRuntime().availableProcessors() * 2;
       private final Semaphore availableConnections = new Semaphore(poolSize);
-      private final LinkedBlockingQueue<Connection> connectionPool =
-        new LinkedBlockingQueue<Connection>();
+      private final ConcurrentLinkedQueue<Connection> connectionPool =
+        new ConcurrentLinkedQueue<Connection>();
 
 
 

--
Gitblit v1.10.0