directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norbet Reilly <nrh...@gmail.com>
Subject Re: [jira] Commented: (DIREVE-265) delegating binds to custom partitions
Date Wed, 26 Oct 2005 07:15:38 GMT
If it helps in your thinking on the issue...

I think in the long term proxies will have a big impact on the
ApacheDS stack. A proxy would prefer that most of the services
(normalization, exception, etc) configured in server.xml be
inactivated (as they would duplicate functions already being performed
by the remote server accessed by the proxy), or best optionally
activated for some proxies to make up for functions lacking on the
remote server.

Also most of the sub-tree type operations would be delegated for the
proxy's entire sub-tree to the remote server. And finally schema
retrieval would need to be delegated as well.

Because most of this stuff is not there at the moment I made the
following implemental choices from my proxy:
    1. implement delegation of binds as described in the patch
attached to this issue. I thought this change was less hacky then 2.
and of value by itself.
    2. implement logic to dynamically discover the remote server's
schema and add it to the ApacheDS GlobalRegistries (which required
some changes to GlobalRegistries.java as in some places only the
BootStrapRegistries information was used, and hence my additions were
ignored). I can share the full patch (including a dynamic equivalent
to the current Maven schema plugin) if anyone is interested.

I think this subset of functionality is a useful starting point for
many proxy implementors, but fully understand if you feel that such a
partial solution should not be integrated into the core server (in
which case I'll maintain my diffs until such time as they are replaced
by a more comprehensive solution).

Thanks

Mime
View raw message