Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

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