Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
Hi @Ashok67621, you will need to follow below 3 steps.
Create yaml (using AC Tool) file definition to create system user and assign it to group (I have used administrator group as an example - but you can use any other group)
Add an entry in the Apache Sling Service User Mapper Service (it can be done manually from OSGi console, or via xml/config file) - below example shows config file usage. Name of the file: org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended-custom.config
Hi @Ashok67621, you will need to follow below 3 steps.
Create yaml (using AC Tool) file definition to create system user and assign it to group (I have used administrator group as an example - but you can use any other group)
Add an entry in the Apache Sling Service User Mapper Service (it can be done manually from OSGi console, or via xml/config file) - below example shows config file usage. Name of the file: org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended-custom.config