public class CSRFHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CSRF_TOKEN
Contains the parameter name of the CSRF token.
|
Constructor and Description |
---|
CSRFHelper() |
Modifier and Type | Method and Description |
---|---|
String |
getCSRFToken(WebContext ctx)
Returns the CSRF security-token of the current session.
|
public static final String CSRF_TOKEN
public String getCSRFToken(WebContext ctx)
ctx
- the request to read the token fromCopyright © 2018. All rights reserved.