jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCR-3037) Add getPath method to Authorizable interface
Date Tue, 02 Aug 2011 10:24:28 GMT
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
            Reporter: angela
            Assignee: angela
            Priority: Minor

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


View raw message