You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Timothee Maret (JIRA)" <ji...@apache.org> on 2015/02/02 13:49:35 UTC

[jira] [Commented] (JCR-3836) Allow to get an Authorizable of a given type

    [ https://issues.apache.org/jira/browse/JCR-3836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14301228#comment-14301228 ] 

Timothee Maret commented on JCR-3836:
-------------------------------------

bq. Is this a must have for 2.9.1 or can we postpone it further?
AFAIR, I did set the fix release to 2.9.0 but it would surely be best if JR team schedules it according to their priorities. From my perspective, nobody will be hurt if it is released later.

> Allow to get an Authorizable of a given type 
> ---------------------------------------------
>
>                 Key: JCR-3836
>                 URL: https://issues.apache.org/jira/browse/JCR-3836
>             Project: Jackrabbit Content Repository
>          Issue Type: New Feature
>          Components: security
>    Affects Versions: 2.9
>            Reporter: Timothee Maret
>            Assignee: angela
>              Labels: security
>             Fix For: 2.9.1
>
>         Attachments: JCR-3836.patch, JCR-3836.patch
>
>
> As discussed in [0], API users would benefit from being able to get an Authorizable of a given type.
> In order to allow this, we may add
> {code}
> <T> T getAuthorizable(@Nonnull String id, Class<T> authorizableClass) throws AuthorizableTypeException
> {code}
> [0] http://jackrabbit.markmail.org/message/iq7zpdxwh5laalfi?q=Adding+AuthorizableMissmatchException+to+jackrabbit+security+API



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)