PlayFramework 2.5: Global CSRF Protection – Disable CSRF selectively

5 Jun
2016

This is the successor of my Post “PlayFramework 2.3: Global CSRF Protection – Disable CSRF selectively“, updated to PlayFramework 2.5!

Adjust your files like this:

1. Adjust your application.conf

2. Create your filter definitions

3. Create your wrapper

4. Annotate your route with the NOCSRF Tag

 
Enjoy!

Comment Form

top