From 6748a78dd685559342f027f9890c2e81931624f4 Mon Sep 17 00:00:00 2001
From: dugan <dugan@localhost>
Date: Thu, 13 Sep 2007 20:00:57 +0000
Subject: [PATCH] These changes allow dsconfig to decode the ACI string similar to what is done for the DN syntax attributes. A new <adm: aci /> syntax has been created that DSEE compat configuration handler is now using.
---
opends/src/server/org/opends/server/authorization/dseecompat/AciList.java | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/authorization/dseecompat/AciList.java b/opends/src/server/org/opends/server/authorization/dseecompat/AciList.java
index 11caf90..f6b1e0d 100644
--- a/opends/src/server/org/opends/server/authorization/dseecompat/AciList.java
+++ b/opends/src/server/org/opends/server/authorization/dseecompat/AciList.java
@@ -159,6 +159,19 @@
}
/**
+ * Add a set of ACIs to the ACI list. This is usually used a startup, when
+ * global ACIs are processed.
+ *
+ * @param dn The DN to add the ACIs under.
+ *
+ * @param acis A set of ACIs to add to the ACI list.
+ *
+ */
+ public synchronized void addAci(DN dn, SortedSet<Aci> acis) {
+ aciList.put(dn, new LinkedList<Aci>(acis));
+ }
+
+ /**
* Add all of an entry's ACI (global or regular) attribute values to the
* ACI list.
* @param entry The entry containing the ACI attributes.
--
Gitblit v1.10.0