[ 
https://issues.apache.org/jira/browse/DIRSERVER-676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481852
 ] 

Ersin Er commented on DIRSERVER-676:
------------------------------------

Yes, we need this feature. So we will be able make Triggers execute SPs on 
behalf of the trigger creator instead of the active user. The latter method 
signature might be better as long as it will not require a password to be 
supplied.

> Provide a method for gathering a handle on root DSE on behalf of any principal
> ------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-676
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-676
>             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 this:
>    ( 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.

Reply via email to