public class SpincastFormsProtectionPluginDictionaryEntries extends DictionaryBase implements DictionaryEntries
| Modifier and Type | Field and Description |
|---|---|
static String |
MESSAGE_KEY_FORM_ALREADY_SUBMITTED
Public exception message when the form was already submitted.
|
static String |
MESSAGE_KEY_FORM_CSRF_TOKEN_NOT_FOUND_IN_SESSION
Public exception message when a POST/PUT/etc.
|
static String |
MESSAGE_KEY_FORM_INVALID_CSRF_TOKEN
Public exception message when the form was submitted with
an invalid CSRF token.
|
static String |
MESSAGE_KEY_FORM_INVALID_ORGIN
Public exception message when the submitted form is from an invalid
origin.
|
static String |
MESSAGE_KEY_FORM_INVALID_PROTECTION_ID
Public exception message when the submitted csrf token is not
of a valid format.
|
static String |
MESSAGE_KEY_FORM_NO_CSRF_TOKEN_PROVIDED
Public exception message when the submitted form doesn't have
a CSRF token.
|
static String |
MESSAGE_KEY_FORM_TOO_OLD
Public exception message when the submitted form is too old.
|
| Constructor and Description |
|---|
SpincastFormsProtectionPluginDictionaryEntries() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Map<String,String>> |
getDictionaryEntries() |
void |
init() |
getMessages, key, msgpublic static final String MESSAGE_KEY_FORM_INVALID_PROTECTION_ID
public static final String MESSAGE_KEY_FORM_TOO_OLD
public static final String MESSAGE_KEY_FORM_ALREADY_SUBMITTED
public static final String MESSAGE_KEY_FORM_INVALID_ORGIN
public static final String MESSAGE_KEY_FORM_NO_CSRF_TOKEN_PROVIDED
public static final String MESSAGE_KEY_FORM_INVALID_CSRF_TOKEN
public static final String MESSAGE_KEY_FORM_CSRF_TOKEN_NOT_FOUND_IN_SESSION
public SpincastFormsProtectionPluginDictionaryEntries()
@Inject public void init()
public Map<String,Map<String,String>> getDictionaryEntries()
getDictionaryEntries in interface DictionaryEntriesCopyright © 2018. All rights reserved.