Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
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