From e1ea3e0d8999105f144d2be98e0286928b8319ed Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Tue, 03 Apr 2007 18:52:11 +0000
Subject: [PATCH] Add initial support for a virtual attribute subsystem, and implement a few different kinds of virtual attributes.  This commit addresses the following issues:

---
 opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java |   50 ++++++++++++++++++++++++++++++++++++++++++--------
 1 files changed, 42 insertions(+), 8 deletions(-)

diff --git a/opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java b/opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java
index cfdf825..6c3467b 100644
--- a/opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java
+++ b/opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java
@@ -102,8 +102,6 @@
 public class InternalClientConnection
        extends ClientConnection
 {
-
-
   // The message ID counter to use for internal connections.
   private static AtomicInteger nextMessageID;
 
@@ -207,9 +205,9 @@
       this.authenticationInfo =
            new AuthenticationInfo(internalUserEntry, true);
       super.setAuthenticationInfo(authenticationInfo);
-      setSizeLimit(0);
-      setTimeLimit(0);
-      setLookthroughLimit(0);
+      super.setSizeLimit(0);
+      super.setTimeLimit(0);
+      super.setLookthroughLimit(0);
     }
     catch (DirectoryException de)
     {
@@ -257,9 +255,9 @@
 
     this.authenticationInfo = authInfo;
     super.setAuthenticationInfo(authInfo);
-    setSizeLimit(0);
-    setTimeLimit(0);
-    setLookthroughLimit(0);
+    super.setSizeLimit(0);
+    super.setTimeLimit(0);
+    super.setLookthroughLimit(0);
 
     connectionID  = nextConnectionID.getAndDecrement();
     operationList = new LinkedList<Operation>();
@@ -457,6 +455,42 @@
 
 
   /**
+   * {@inheritDoc}
+   */
+  @Override()
+  public void setSizeLimit(int sizeLimit)
+  {
+    // No implementation required.  We never want to set a nonzero
+    // size limit for internal client connections.
+  }
+
+
+
+  /**
+   * {@inheritDoc}
+   */
+  @Override()
+  public void setLookthroughLimit(int lookthroughLimit)
+  {
+    // No implementation required.  We never want to set a nonzero
+    // lookthrough limit for internal client connections.
+  }
+
+
+
+  /**
+   * {@inheritDoc}
+   */
+  @Override()
+  public void setTimeLimit(int timeLimit)
+  {
+    // No implementation required.  We never want to set a nonzero
+    // time limit for internal client connections.
+  }
+
+
+
+  /**
    * Indicates whether this client connection is currently using a
    * secure mechanism to communicate with the server.  Note that this
    * may change over time based on operations performed by the client

--
Gitblit v1.10.0