public interface Csrf
MvcContext
class as mvc.csrf
.CsrfProtected
Modifier and Type | Interface and Description |
---|---|
static class |
Csrf.CsrfOptions
Options for property
CSRF_PROTECTION . |
Modifier and Type | Field and Description |
---|---|
static String |
CSRF_PROTECTION
Property that can be used to globally enable CSRF protection for an application.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the CSRF form field or HTTP request header.
|
String |
getToken()
Returns the value of the CSRF token.
|
static final String CSRF_PROTECTION
Csrf.CsrfOptions
.Copyright © 2018 Ivar Grimstad. All rights reserved.