From e9ed6e05d3fb6f9d197bd717ef65109c3af3e0a6 Mon Sep 17 00:00:00 2001
From: abobrov <abobrov@localhost>
Date: Tue, 02 Oct 2007 20:22:53 +0000
Subject: [PATCH] - [Issue 2406] supportedControl in DSE does not display all the supported controls: advertise Account Usable and GetEffectiveRights via supportedControl of RootDSE. also fix criticality field recognition/process for GetEffectiveRights request control.
---
opends/src/server/org/opends/server/authorization/dseecompat/AciHandler.java | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/authorization/dseecompat/AciHandler.java b/opends/src/server/org/opends/server/authorization/dseecompat/AciHandler.java
index b7fa1c6..0f25ce7 100644
--- a/opends/src/server/org/opends/server/authorization/dseecompat/AciHandler.java
+++ b/opends/src/server/org/opends/server/authorization/dseecompat/AciHandler.java
@@ -201,6 +201,7 @@
aciListenerMgr = new AciListenerManager(aciList, configurationDN);
processGlobalAcis(configuration);
processConfigAcis();
+ DirectoryServer.registerSupportedControl(OID_GET_EFFECTIVE_RIGHTS);
}
@@ -212,6 +213,7 @@
public void finalizeAccessControlHandler()
{
AciEffectiveRights.finalizeOnShutdown();
+ DirectoryServer.deregisterSupportedControl(OID_GET_EFFECTIVE_RIGHTS);
}
--
Gitblit v1.10.0