Expand my Community achievements bar.

SOLVED

Is there any api to get CUG exempted principal.

Avatar

Level 8

akshaybhujbale_0-1661353543222.png

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

1 Accepted Solution

Avatar

Correct answer by
Level 5

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

View solution in original post

1 Reply

Avatar

Correct answer by
Level 5

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