directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ersin Er (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRSERVER-676) Provide a method for gathering a handle on root DSE on behalf of any principal
Date Sat, 17 Mar 2007 13:21:09 GMT

    [ 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.


Mime
View raw message