Hi, I have implemented a service and would like to use the new interface method "resolverFactory.getServiceResourceResolver(params)" for using a proper service user instead of an administrativeResourceResolver.
I have tried to create such a System User via: curl -u admin:admin -F:name=myuser -Fpwd=mypwd -FpwdConfirm=mypwd -Frep:principalName=myuser -Fjcr:primaryType=rep:SystemUser http://localhost:8080/system/userManager/user.create.html and: curl -u admin:admin -F:nameHint=myuser -Fjcr:primaryType=rep:SystemUser -Frep:principalName=myuser http://localhost:8080/home/users/system/* but this was somehow not successfull. With the first curl command I received just a "normal" user with primaryType = rep:User, but it should be a "rep:SystemUser" as I have understood the documentation. With the second curl command I received: javax.jcr.nodetype.ConstraintViolationException: Property is protected: rep:principalName = myuser Is there any way in Sling to create such a System User? How do you get usually a Service Resource Resolver instance? AEM offers here the CRX Explorer tool which offers creation of a system user, but something similar I haven't found yet in Sling itself. Thanks for support, Oli
