Play 2.5 disable csrf protection for some requests
问题 I'm writing my app using play framework v. 2.5.3 and use CSRF protection as it is described in official documentation. public class Filters implements HttpFilters { @Inject CSRFFilter csrfFilter; @Override public EssentialFilter[] filters() { return new EssentialFilter[]{csrfFilter.asJava()}; }} Of course, it works, as long as all of requests need to be filtered, but some of them should be bypassed. How can filters be configured to bypass requests to some specified route? Thanks for your help