Default constructor, useful from Java
The key used to store the token in the Play session. Defaults to csrfToken.
If defined, causes the filter to store the token in a Cookie with this name instead of the session.
If storing the token in a cookie, whether this Cookie should set the secure flag. Defaults to whether the session cookie is configured to be secure.
Whether a new CSRF token should be created if it's not found. Default creates one if it's a GET request that accepts HTML.
If defined, causes the filter to store the token in a Cookie with this name instead of the session.
Whether a new CSRF token should be created if it's not found.
Whether a new CSRF token should be created if it's not found. Default creates one if it's a GET request that accepts HTML.
If storing the token in a cookie, whether this Cookie should set the secure flag.
If storing the token in a cookie, whether this Cookie should set the secure flag. Defaults to whether the session cookie is configured to be secure.
The key used to store the token in the Play session.
The key used to store the token in the Play session. Defaults to csrfToken.
A filter that provides CSRF protection.
The key used to store the token in the Play session. Defaults to csrfToken.
If defined, causes the filter to store the token in a Cookie with this name instead of the session.
If storing the token in a cookie, whether this Cookie should set the secure flag. Defaults to whether the session cookie is configured to be secure.
Whether a new CSRF token should be created if it's not found. Default creates one if it's a GET request that accepts HTML.