From 5e4ad386b7091fa5ee4ecbc33182a5493ab14177 Mon Sep 17 00:00:00 2001
From: dugan <dugan@localhost>
Date: Sat, 21 Jul 2007 00:56:42 +0000
Subject: [PATCH] Add the new ACI keyword "targetcontrol" that can be used to enforce access based on the OID of a control. For example, a new global access control rule is also being added:
---
opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/AciTargetMatchContext.java | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/AciTargetMatchContext.java b/opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/AciTargetMatchContext.java
index 33f4db1..d0a5f1c 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/AciTargetMatchContext.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/AciTargetMatchContext.java
@@ -118,6 +118,13 @@
*/
public int getRights();
+ /**
+ * Return the oid string of the control being evaluated.
+ *
+ * @return The oid string of the control being evaluated.
+ */
+ public String getControlOID();
+
/**
* Checks if the container's rights has the specified rights.
* @param rights The rights to check for.
--
Gitblit v1.10.0