Class SpincastFormsProtectionPluginDictionaryEntries

java.lang.Object
org.spincast.core.dictionary.DictionaryBase
org.spincast.plugins.formsprotection.dictionary.SpincastFormsProtectionPluginDictionaryEntries
All Implemented Interfaces:
DictionaryEntries

public class SpincastFormsProtectionPluginDictionaryEntries extends DictionaryBase implements DictionaryEntries
The Dictionary entries required by the Forms Protection plugin.
  • Field Details

    • MESSAGE_KEY_FORM_INVALID_PROTECTION_ID

      public static final String MESSAGE_KEY_FORM_INVALID_PROTECTION_ID
      Public exception message when the submitted csrf token is not of a valid format.
    • MESSAGE_KEY_FORM_TOO_OLD

      public static final String MESSAGE_KEY_FORM_TOO_OLD
      Public exception message when the submitted form is too old.
    • MESSAGE_KEY_FORM_ALREADY_SUBMITTED

      public static final String MESSAGE_KEY_FORM_ALREADY_SUBMITTED
      Public exception message when the form was already submitted.
    • MESSAGE_KEY_FORM_INVALID_ORGIN

      public static final String MESSAGE_KEY_FORM_INVALID_ORGIN
      Public exception message when the submitted form is from an invalid origin.
    • MESSAGE_KEY_FORM_NO_CSRF_TOKEN_PROVIDED

      public static final String MESSAGE_KEY_FORM_NO_CSRF_TOKEN_PROVIDED
      Public exception message when the submitted form doesn't have a CSRF token.
    • MESSAGE_KEY_FORM_INVALID_CSRF_TOKEN

      public static final String MESSAGE_KEY_FORM_INVALID_CSRF_TOKEN
      Public exception message when the form was submitted with an invalid CSRF token.
    • MESSAGE_KEY_FORM_CSRF_TOKEN_NOT_FOUND_IN_SESSION

      public static final String MESSAGE_KEY_FORM_CSRF_TOKEN_NOT_FOUND_IN_SESSION
      Public exception message when a POST/PUT/etc. request is made but the CSRF token is not found in the current session...
  • Constructor Details

    • SpincastFormsProtectionPluginDictionaryEntries

      public SpincastFormsProtectionPluginDictionaryEntries()
  • Method Details