You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2011/08/02 12:28:27 UTC

[jira] [Updated] (JCR-3037) Add getPath method to Authorizable interface

     [ https://issues.apache.org/jira/browse/JCR-3037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

angela updated JCR-3037:
------------------------

          Component/s: jackrabbit-core
                       jackrabbit-api
    Affects Version/s: 2.3.0
        Fix Version/s: 2.3.0

> Add getPath method to Authorizable interface
> --------------------------------------------
>
>                 Key: JCR-3037
>                 URL: https://issues.apache.org/jira/browse/JCR-3037
>             Project: Jackrabbit Content Repository
>          Issue Type: New Feature
>          Components: jackrabbit-api, jackrabbit-core
>    Affects Versions: 2.3.0
>            Reporter: angela
>            Assignee: angela
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> currently the only way to retrieve the path of the item associated with an authorizable is to check if the
> principal obtained through Authorizable#getPrincipal() is an ItemBasedPrincipal.
> having a getPath method would provide a convenient shortcut and would in addition allow
> to determine of there is really an item associated with a authorizable that is accessible for the editing
> session (which is not necessarily the case for ItemBasedPrincipal#getPath

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira