Web context authorizers: (v4.5)
Some authorizers only apply on the web context:
1) CSRF
CsrfAuthorizerchecks that the web context has the appropriate CSRF token in order to protect against CSRF attacks. Using theDefaultCsrfTokenGeneratoror thecsrfTokenmatcher, you can get the CSRF token and send it as a parameter or as a header. TheCsrfAuthorizerchecks that the request is a POST and has a CSRF token (found in a parameter or header)
2) Others
-
IpRegexpAuthorizerchecks the incoming IP address -
CheckHttpMethodAuthorizerchecks that the request was performed with the appropriate HTTP method