Getting 403 error when using CSRF filter with tomcat 6.0.32
Posted
by
sps
on Stack Overflow
See other posts from Stack Overflow
or by sps
Published on 2012-10-31T05:28:45Z
Indexed on
2012/10/31
11:00 UTC
Read the original article
Hit count: 212
This is my filer config in web.xml
<filter>
<filter-name>CSRFPreventionFilter</filter-name>
<filter-class>org.apache.catalina.filters.CsrfPreventionFilter</filter-class>
<init-param>
<param-name>entryPoints</param-name>
<param-value>/login<param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>CSRFPreventionFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter>
Am I missing something? Are any code-changes necessary to enable csrf protection in tomcat
© Stack Overflow or respective owner