Expand my Community achievements bar.

SOLVED

Service user is not working in publish server

Avatar

Level 2
  • 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.
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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