From 4a4a8540f0b64feff6934c3215c6f896c9561c7d Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Thu, 08 Feb 2007 22:27:58 +0000
Subject: [PATCH] Update the AuthenticationInfo object to store the entries for the authentication and authorization identities rather than just their DNs. This includes a mechanism to keep those entries up to date as changes occur in the server, and also includes a hook for ClientConnection subclasses to perform processing whenever a connection is terminated.
---
opends/src/server/org/opends/server/core/DeleteOperation.java | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/opends/src/server/org/opends/server/core/DeleteOperation.java b/opends/src/server/org/opends/server/core/DeleteOperation.java
index f144e2c..94748e9 100644
--- a/opends/src/server/org/opends/server/core/DeleteOperation.java
+++ b/opends/src/server/org/opends/server/core/DeleteOperation.java
@@ -816,10 +816,10 @@
}
- DN authzDN;
+ Entry authorizationEntry;
try
{
- authzDN = proxyControl.getValidatedAuthorizationDN();
+ authorizationEntry = proxyControl.getAuthorizationEntry();
}
catch (DirectoryException de)
{
@@ -834,7 +834,7 @@
// FIXME -- Should we specifically check permissions here, or let
// the earlier access control checks handle it?
- setAuthorizationDN(authzDN);
+ setAuthorizationEntry(authorizationEntry);
}
else if (oid.equals(OID_PROXIED_AUTH_V2))
{
@@ -861,10 +861,10 @@
}
- DN authzDN;
+ Entry authorizationEntry;
try
{
- authzDN = proxyControl.getValidatedAuthorizationDN();
+ authorizationEntry = proxyControl.getAuthorizationEntry();
}
catch (DirectoryException de)
{
@@ -879,7 +879,7 @@
// FIXME -- Should we specifically check permissions here, or let
// the earlier access control checks handle it?
- setAuthorizationDN(authzDN);
+ setAuthorizationEntry(authorizationEntry);
}
// NYI -- Add support for additional controls.
--
Gitblit v1.10.0