Class SpincastFormsProtectionPebbleExtensionDefault

java.lang.Object
com.mitchellbosecke.pebble.extension.AbstractExtension
org.spincast.plugins.formsprotection.pebble.SpincastFormsProtectionPebbleExtensionDefault
All Implemented Interfaces:
com.mitchellbosecke.pebble.extension.Extension, SpincastFormsProtectionPebbleExtension

public class SpincastFormsProtectionPebbleExtensionDefault extends com.mitchellbosecke.pebble.extension.AbstractExtension implements SpincastFormsProtectionPebbleExtension
  • Field Details

    • logger

      protected static final org.slf4j.Logger logger
    • FONCTION_NAME_FORM_DOUBLE_SUBMIT_PROTECTION_FIELD_NAME

      public static final String FONCTION_NAME_FORM_DOUBLE_SUBMIT_PROTECTION_FIELD_NAME
      See Also:
    • FONCTION_NAME_FORM_DOUBLE_SUBMIT_PROTECTION_FIELD_VALUE

      public static final String FONCTION_NAME_FORM_DOUBLE_SUBMIT_PROTECTION_FIELD_VALUE
      See Also:
    • FONCTION_NAME_FORM_DOUBLE_SUBMIT_DISABLE_PROTECTION_FIELD_NAME

      public static final String FONCTION_NAME_FORM_DOUBLE_SUBMIT_DISABLE_PROTECTION_FIELD_NAME
      See Also:
    • FONCTION_NAME_FORM_CSRF_PROTECTTION_FIELD_NAME

      public static final String FONCTION_NAME_FORM_CSRF_PROTECTTION_FIELD_NAME
      See Also:
    • FONCTION_NAME_FORM_CSRF_PROTECTTION_FIELD_VALUE

      public static final String FONCTION_NAME_FORM_CSRF_PROTECTTION_FIELD_VALUE
      See Also:
  • Constructor Details

  • Method Details

    • getSpincastFormsDoubleSubmitProtectionRepositoryOptional

      protected com.google.common.base.Optional<SpincastFormsDoubleSubmitProtectionRepository> getSpincastFormsDoubleSubmitProtectionRepositoryOptional()
    • getSpincastConfig

      protected SpincastConfig getSpincastConfig()
    • getSpincastFormsProtectionConfig

      protected SpincastFormsProtectionConfig getSpincastFormsProtectionConfig()
    • getSpincastUtils

      protected SpincastUtils getSpincastUtils()
    • getSpincastFormsDoubleSubmitProtectionFilter

      protected SpincastFormsDoubleSubmitProtectionFilter getSpincastFormsDoubleSubmitProtectionFilter()
    • getSpincastFormsCsrfProtectionFilter

      protected SpincastFormsCsrfProtectionFilter getSpincastFormsCsrfProtectionFilter()
    • getFunctions

      public Map<String,com.mitchellbosecke.pebble.extension.Function> getFunctions()
      Specified by:
      getFunctions in interface com.mitchellbosecke.pebble.extension.Extension
      Overrides:
      getFunctions in class com.mitchellbosecke.pebble.extension.AbstractExtension
    • getFormDoubleSubmitProtectionFieldValueFunction

      protected com.mitchellbosecke.pebble.extension.Function getFormDoubleSubmitProtectionFieldValueFunction()
    • getFormDoubleSubmitProtectionFieldNameFunction

      protected com.mitchellbosecke.pebble.extension.Function getFormDoubleSubmitProtectionFieldNameFunction()
    • getFormDoubleSubmitDisableProtectionFieldNameFunction

      protected com.mitchellbosecke.pebble.extension.Function getFormDoubleSubmitDisableProtectionFieldNameFunction()
    • getFormCsrfProtectionIdFieldNameFunction

      protected com.mitchellbosecke.pebble.extension.Function getFormCsrfProtectionIdFieldNameFunction()
    • getFormCsrfProtectionFieldValueFunction

      protected com.mitchellbosecke.pebble.extension.Function getFormCsrfProtectionFieldValueFunction()