Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Service user is not working in publish server

sirishap9577191
Level 1
Level 1
  • 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
Ritesh_M
Correct answer by
Community Advisor
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
Ritesh_M
Correct answer by
Community Advisor
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