Service user is not working in publish server | Community
Skip to main content
Level 2
June 10, 2021
Solved

Service user is not working in publish server

  • June 10, 2021
  • 1 reply
  • 910 views
  • I have created service user using explorer. In java code when I try to create resource resolver it is coming null. And this works in author but not in publish.  We are accessing apps in java code . So read permission is given to apps. Any kind of inputs are helpful here.
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 Ritesh_Mittal

Hi @sirishap9577191 ,

 

You need to update "Apache Sling Service User Mapper Service" to add mapping for sub-service, bundle and system user configuration. Also, the system user should have proper permission. 

 

Please refer this video for more clarification 

https://www.youtube.com/watch?v=CatRHs0rt4o

1 reply

Ritesh_Mittal
Community Advisor and Adobe Champion
Ritesh_MittalCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
June 10, 2021

Hi @sirishap9577191 ,

 

You need to update "Apache Sling Service User Mapper Service" to add mapping for sub-service, bundle and system user configuration. Also, the system user should have proper permission. 

 

Please refer this video for more clarification 

https://www.youtube.com/watch?v=CatRHs0rt4o