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/backends/jeb/JebFormat.java | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/backends/jeb/JebFormat.java b/opends/src/server/org/opends/server/backends/jeb/JebFormat.java
index 7883c28..c5e141f 100644
--- a/opends/src/server/org/opends/server/backends/jeb/JebFormat.java
+++ b/opends/src/server/org/opends/server/backends/jeb/JebFormat.java
@@ -356,6 +356,10 @@
{
for (Attribute a : list)
{
+ if (a.isVirtual())
+ {
+ continue;
+ }
userAttrElements.add(new LDAPAttribute(a).encode());
}
}
@@ -367,6 +371,10 @@
{
for (Attribute a : list)
{
+ if (a.isVirtual())
+ {
+ continue;
+ }
opAttrElements.add(new LDAPAttribute(a).encode());
}
}
--
Gitblit v1.10.0