directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seelmann (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DIRSERVER-477) Alias deferencing interceptor
Date Sat, 10 Apr 2010 09:21:51 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stefan Seelmann updated DIRSERVER-477:
--------------------------------------


I think it should not be implemented using an interceptor. Some parts of the server use DefaultPartionNexus.search()
directly rather then going through the interceptor chain (SubentryInterceptor, ReferrralManagerImpl,
GroupCache, TupleCache, TriggerSpecCache). Those parts won't be able to perform alias dereferncing
if alias dereferencing is handled within an interceptor.

Instead I propose to add this feature to the PartitionNexus. I started to create a new cursor
implementation that handles alias dereferencing. In case alias dereferncing is reqeuested
it adds an or'ed filter to the original user's filter: (|<user filter>(objectClass=alias)).
Alias entries returned by the partition are dereferenced by the cursor and a sub-search is
performed.

Using this technique the partition implementation don't need to implement alias dereferencing.
The alias indices (alias, oneAlias, subAlias) are not neccessary any more and can be removed
from JDBM partition. Additionally alias dereferencing across partitions is possible.

Thoughts?


> Alias deferencing interceptor
> -----------------------------
>
>                 Key: DIRSERVER-477
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-477
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: core
>            Reporter: Trustin Lee
>            Assignee: Alex Karasulu
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> Currently alias dereferencing (I forgot the RFC #) is coupled with ContextPartition,
but it could be extracted into an interceptor which will give some advantages like:
> * ContextPartition implementors don't need to implement alias dereferencing.
> * Alias dereferencing can occur across different context partitions.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message