Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Won't Fix
-
None
-
None
Description
Similar to hst:formloginpage, can we have a property(eg hst:formaccessdeniedpage) for setting the custom forbidden page per mount
use case: if i set a accessdenied page in this new property then the application should redirect to the specified page in
i have checked the SecurityValve class and it seems for access denied scenarios SecurityValve set the response status to 403 which redirect to the error page(<error-page>) specified in web.xml . Instead of container handling the 403 , i would like to redirect to a custom accessdenied page which has some additional business logic in its component