user mapper service amendment | Community
Skip to main content
AdobeID24
Level 5
September 1, 2019
Solved

user mapper service amendment

  • September 1, 2019
  • 11 replies
  • 4736 views

apache sling service user mapper service amendment ---> I have provided the details in service mapping ....and saved it.. where we can see our newly created or added configuration ?

I am adding but I its nt getting saved ...

I have given all permission to newly created system user.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by user05162

Any changes/additions of configurations from the web console will be saved under /apps/system/config

So, for your case,  service user mapping should be saved under:/apps/system/config/org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl*******

Attaching a screenshot for reference below where I tried to create a test config:

11 replies

arunpatidar
Community Advisor
Community Advisor
September 7, 2019

Because the second method is the correct method which allows you to get sub-service session

Sling offers a Service User Mapping service, which allows configuring a bundle-to-user mapping and two corresponding API methods: SlingRepository.loginService() and ResourceResolverFactory.getServiceResourceResolver() which return a session/resource resolver with the privileges of a configured user only.

Service Users in AEM

Arun Patidar