You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Trustin Lee (JIRA)" <di...@incubator.apache.org> on 2005/09/23 11:06:28 UTC
[jira] Created: (DIREVE-267) Alias deferencing interceptor
Alias deferencing interceptor
-----------------------------
Key: DIREVE-267
URL: http://issues.apache.org/jira/browse/DIREVE-267
Project: Directory Server
Type: Improvement
Components: interceptors
Reporter: Trustin Lee
Assigned to: Alex Karasulu
Priority: Minor
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:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (DIRSERVER-477) Alias deferencing interceptor
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny updated DIRSERVER-477:
----------------------------------------
Fix Version/s: 2.0.0
Status ? Has it been fixed ?
> 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.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DIRSERVER-477) Alias deferencing interceptor
Posted by "Alex Karasulu (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/DIRSERVER-477?page=all ]
Alex Karasulu updated DIRSERVER-477:
------------------------------------
Component: core
> Alias deferencing interceptor
> -----------------------------
>
> Key: DIRSERVER-477
> URL: http://issues.apache.org/jira/browse/DIRSERVER-477
> Project: Directory ApacheDS
> Type: Improvement
> Components: core
> Reporter: Trustin Lee
> Assignee: Alex Karasulu
> Priority: Minor
>
> 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:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (DIRSERVER-477) Alias deferencing interceptor
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny updated DIRSERVER-477:
----------------------------------------
Fix Version/s: 2.0.0-RC1
(was: 2.0.0)
Moved back to 2.0.0-RC1
> 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-RC1
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DIRSERVER-477) Alias deferencing interceptor
Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
[ 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