public class TokenChecker extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
INVALID_CAPTCHA |
static int |
INVALID_HIDDEN_FIELDS |
static int |
INVALID_TOKEN |
static int |
NO_TOKEN |
static int |
VALID_TOKEN |
| Constructor and Description |
|---|
TokenChecker() |
| Modifier and Type | Method and Description |
|---|---|
static int |
checkToken(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
Map<String,List<String>> parameters) |
public static final int NO_TOKEN
public static final int VALID_TOKEN
public static final int INVALID_TOKEN
public static final int INVALID_HIDDEN_FIELDS
public static final int INVALID_CAPTCHA
public static int checkToken(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
Map<String,List<String>> parameters)
throws UnsupportedEncodingException
UnsupportedEncodingExceptionCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.