cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Customize page: HTTP Status 403 - Bad or missing CSRF value

Former Member
0 Likes
1,084

Hello, I'm having some trouble customizing the behavior after a CSRF error. I've found the following solution in multiple SPRING MVC websites but I'm unable to apply on my spring-security-config.xml

http://www.baeldung.com/spring-security-custom-access-denied-page

Have anyone sucessfully changed that page redirecting to HOME or /LOGIN? I also found out the DefaultAcceleratorAccessDeniedHandler and made the following declaration on my spring-security-config.xml without sucess:

bean id="defaultAcceleratorAccessDeniedHandler" class="de.hybris.platform.acceleratorstorefrontcommons.security.impl.DefaultAcceleratorAccessDeniedHandler"
property name="errorPage" value="403"

Have anyone sucessfully customized a HTTP 403 page on Hybris Commerce?

View Entire Topic
Former Member
0 Likes

I was able to change the behavior of the HTTP 403 CSRF page changing the return in the class CSRFHandlerInterceptor.