public.javadoc.org.spincast.plugins.formsprotection.pebble.SpincastFormsProtectionPebbleExtensionDefault.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
SpincastFormsProtectionPebbleExtensionDefault (org.spincast:spincast-framework 1.0.0 API)
org.spincast.plugins.formsprotection.pebble
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 Summary
Fields
Modifier and Type
Field and Description
static String
FONCTION_NAME_FORM_CSRF_PROTECTTION_FIELD_NAME
static String
FONCTION_NAME_FORM_CSRF_PROTECTTION_FIELD_VALUE
static String
FONCTION_NAME_FORM_DOUBLE_SUBMIT_DISABLE_PROTECTION_FIELD_NAME
static String
FONCTION_NAME_FORM_DOUBLE_SUBMIT_PROTECTION_FIELD_NAME
static String
FONCTION_NAME_FORM_DOUBLE_SUBMIT_PROTECTION_FIELD_VALUE
protected static org.slf4j.Logger
logger
-
Constructor Summary
Constructors
Constructor and Description
SpincastFormsProtectionPebbleExtensionDefault(com.google.common.base.Optional<SpincastFormsDoubleSubmitProtectionRepository> SpincastFormsDoubleSubmitProtectionRepositoryOptional,
SpincastConfig spincastConfig,
SpincastUtils spincastUtils,
SpincastFormsProtectionConfig spincastFormsProtectionConfig,
SpincastFormsDoubleSubmitProtectionFilter spincastFormsDoubleSubmitProtectionFilter,
SpincastFormsCsrfProtectionFilter spincastFormsCsrfProtectionFilter)
-
Method Summary
-
Methods inherited from class com.mitchellbosecke.pebble.extension.AbstractExtension
getBinaryOperators, getFilters, getGlobalVariables, getNodeVisitors, getTests, getTokenParsers, getUnaryOperators
-
-
Field Detail
-
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:
- Constant Field Values
-
FONCTION_NAME_FORM_DOUBLE_SUBMIT_PROTECTION_FIELD_VALUE
public static final String FONCTION_NAME_FORM_DOUBLE_SUBMIT_PROTECTION_FIELD_VALUE
- See Also:
- Constant Field Values
-
FONCTION_NAME_FORM_DOUBLE_SUBMIT_DISABLE_PROTECTION_FIELD_NAME
public static final String FONCTION_NAME_FORM_DOUBLE_SUBMIT_DISABLE_PROTECTION_FIELD_NAME
- See Also:
- Constant Field Values
-
FONCTION_NAME_FORM_CSRF_PROTECTTION_FIELD_NAME
public static final String FONCTION_NAME_FORM_CSRF_PROTECTTION_FIELD_NAME
- See Also:
- Constant Field Values
-
FONCTION_NAME_FORM_CSRF_PROTECTTION_FIELD_VALUE
public static final String FONCTION_NAME_FORM_CSRF_PROTECTTION_FIELD_VALUE
- See Also:
- Constant Field Values
-
Constructor Detail
-
SpincastFormsProtectionPebbleExtensionDefault
@Inject
public SpincastFormsProtectionPebbleExtensionDefault(com.google.common.base.Optional<SpincastFormsDoubleSubmitProtectionRepository> SpincastFormsDoubleSubmitProtectionRepositoryOptional,
SpincastConfig spincastConfig,
SpincastUtils spincastUtils,
SpincastFormsProtectionConfig spincastFormsProtectionConfig,
SpincastFormsDoubleSubmitProtectionFilter spincastFormsDoubleSubmitProtectionFilter,
SpincastFormsCsrfProtectionFilter spincastFormsCsrfProtectionFilter)
-
Method Detail
-
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()
Copyright © 2019. All rights reserved.