cool, thanks Bertrand, I could use some pieces of the code and it works
basically.

I still don't understand something:
For creating such service users we still need to do a
".loginAdministrative()", but this method is actually deprecated. How do
you handle this? Should we use then the JCR API directly instead of the
SlingRepository?

On Tue, Dec 22, 2015 at 9:17 AM, Bertrand Delacretaz <[email protected]
> wrote:

> Hi,
>
> On Fri, Dec 18, 2015 at 10:35 AM, Robert Munteanu <[email protected]>
> wrote:
> > ...We are also working on a solution for a more declarative approach, see
> >   https://issues.apache.org/jira/browse/SLING-5355 ...
>
> And you could use that code [1] as an example to create system users
> programatically. It's a work in progress right now but that part
> works.
>
> -Bertrand
>
> [1]
> https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/acldef/oak-jcr
>



-- 
=======================
(C)olimination.com

Reply via email to