Is there any api to get CUG exempted principal. | Community
Skip to main content
Level 6
August 24, 2022
Solved

Is there any api to get CUG exempted principal.

  • August 24, 2022
  • 1 reply
  • 581 views

to get this exempted CUG principal is there any api available or is there any property to differentiate the normal user and exempted user?

Please any leads will help

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 Chandra_Hire

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

1 reply

Chandra_Hire
Chandra_HireAccepted solution
Level 4
August 25, 2022

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