directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu (JIRA)" <>
Subject [jira] Commented: (DIRSERVER-676) Provide a method for gathering a handle on root DSE on behalf of any principal
Date Fri, 16 Mar 2007 04:59:09 GMT


Alex Karasulu commented on DIRSERVER-676:

Ersin I still need to know if you need this right away.  You waiting on it for something to
go into 1.5.0?  

Also it might be better to have a signature like so instead:

( ServerLdapContext ) ( ( ServerLdapContext ) invocation.getCaller() ).getRootContextFor(
env );

Where env is a map/hash of JNDI properties that are used to determine the mechanism, principal

and credentials with which to get the context for that user.  

If the calling method has access to this information (when as admin for example) or executing

in code that has access to the entry of the user it should be easy to authenticate and create
context for the requested user.

How does this sound?

> Provide a method for gathering a handle on root DSE on behalf of any principal
> ------------------------------------------------------------------------------
>                 Key: DIRSERVER-676
>                 URL:
>             Project: Directory ApacheDS
>          Issue Type: New Feature
>          Components: core
>            Reporter: Ersin Er
>         Assigned To: Alex Karasulu
>             Fix For: 1.5.0
> We are currently able to get a handle on root DSE for the active principal invoking the
operation. Here is a code snippet for that:
>    ( ServerLdapContext ) ( ( ServerLdapContext ) invocation.getCaller() ).getRootContext();
> However we need to get handle on root DSE for any principal also; maybe something like
>    ( ServerLdapContext ) ( ( ServerLdapContext ) invocation.getCaller() ).getRootContextFor(
userDn );
> This will allow us to run Triggers with creators' credentials.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message