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/tools/LDAPToolUtils.java |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/tools/LDAPToolUtils.java b/opends/src/server/org/opends/server/tools/LDAPToolUtils.java
index 81b8c43..ca40b69 100644
--- a/opends/src/server/org/opends/server/tools/LDAPToolUtils.java
+++ b/opends/src/server/org/opends/server/tools/LDAPToolUtils.java
@@ -111,6 +111,16 @@
     {
       controlOID = OID_SUBTREE_DELETE_CONTROL;
     }
+    else if (lowerOID.equals("realattrsonly") ||
+             lowerOID.equals("realattributesonly"))
+    {
+      controlOID = OID_REAL_ATTRS_ONLY;
+    }
+    else if (lowerOID.equals("virtualattrsonly") ||
+             lowerOID.equals("virtualattributesonly"))
+    {
+      controlOID = OID_VIRTUAL_ATTRS_ONLY;
+    }
 
     if (idx < 0)
     {

--
Gitblit v1.10.0