braindumps & more.
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