Hi@akshaybhujbale Which version of AEM are you using? If it is prior to
AEM 6.5. Use below OSGi component (and associated service)
com.day.cq.auth.impl.CugSupportImpl (This has been deprecated in AEM
6.5) For AEM 6.5 Check Apache Jackrabbit Oak CUG Exclude List (OSGi
componnet uses below service,
org.apache.jackrabbit.oak.spi.security.authorization.cug.CugExclude
Reference: Custom User Group Mapping in AEM 6.5 | Adobe Experience
Manager Hope this helps. Thanks