Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

403 Forbidden Error Handling for Authenticated Users in Publish AEM as CS

Avatar

Level 1

In AEM as Cloud service, For the authenticated users in Publish, I need to redirect the user to the custom 403 error page, When the user doesn't have permission to access the page. 

 

Help me with the solution, I tried the ACS commons Error page Handling, But the code doesn't have the support for 403. 

 

Thanks in advance!!

1 Accepted Solution

Avatar

Correct answer by
Level 5
2 Replies

Avatar

Level 5

You can use the AEM's Closed User Group functionality for the same. OR can write your own custom servlets to handle the redirection based on user.

Avatar

Correct answer by
Level 5