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

Eric Norman resolved SLING-2083.
--------------------------------

       Resolution: Fixed
    Fix Version/s: JCR Jackrabbit Access Manager 2.1.2

fixed in revision 1124538.

Added services that mirror the REST accessmanager operations.

See:
http://svn.apache.org/repos/asf/sling/trunk/bundles/jcr/jackrabbit-accessmanager/src/main/java/org/apache/sling/jcr/jackrabbit/accessmanager/DeleteAces.java
http://svn.apache.org/repos/asf/sling/trunk/bundles/jcr/jackrabbit-accessmanager/src/main/java/org/apache/sling/jcr/jackrabbit/accessmanager/GetAcl.java
http://svn.apache.org/repos/asf/sling/trunk/bundles/jcr/jackrabbit-accessmanager/src/main/java/org/apache/sling/jcr/jackrabbit/accessmanager/GetEffectiveAcl.java
http://svn.apache.org/repos/asf/sling/trunk/bundles/jcr/jackrabbit-accessmanager/src/main/java/org/apache/sling/jcr/jackrabbit/accessmanager/ModifyAce.java


> AccessManager permissions manipulation services API
> ---------------------------------------------------
>
>                 Key: SLING-2083
>                 URL: https://issues.apache.org/jira/browse/SLING-2083
>             Project: Sling
>          Issue Type: Improvement
>          Components: API
>    Affects Versions:  JCR Jackrabbit Access Manager 2.0.4
>            Reporter: Eric Norman
>            Assignee: Eric Norman
>              Labels: accessmanager, api, programmatically, service
>             Fix For: JCR Jackrabbit Access Manager 2.1.2
>
>
> It would be nice if the jackrabbit.accessmanager bundle expose OSGI 
> service(s) that maps exactly the functionalities of the REST services, so 
> that one can use their features also in a programmatic way. 
> This can be useful if an application has to manage permissions without having 
> an explicit request object (ex: from an EventListener), or in the case a user 
> has to manipulate his account (in this case he doesn't have an administrative 
> account, so his requests are not permitted to modify users). Also i think 
> that, in certain situations, it could be just cleaner and simpler to write a 
> servlet or script that directly invoke the methods, instead of find the way 
> to invoke the REST services.

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

Reply via email to