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
-
Constructor Summary
ConstructorDescriptionSpincastFormsProtectionPebbleExtensionDefault
(com.google.common.base.Optional<SpincastFormsDoubleSubmitProtectionRepository> SpincastFormsDoubleSubmitProtectionRepositoryOptional, SpincastConfig spincastConfig, SpincastUtils spincastUtils, SpincastFormsProtectionConfig spincastFormsProtectionConfig, SpincastFormsDoubleSubmitProtectionFilter spincastFormsDoubleSubmitProtectionFilter, SpincastFormsCsrfProtectionFilter spincastFormsCsrfProtectionFilter) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.mitchellbosecke.pebble.extension.Function
protected com.mitchellbosecke.pebble.extension.Function
protected com.mitchellbosecke.pebble.extension.Function
protected com.mitchellbosecke.pebble.extension.Function
protected com.mitchellbosecke.pebble.extension.Function
protected SpincastConfig
protected SpincastFormsCsrfProtectionFilter
protected com.google.common.base.Optional<SpincastFormsDoubleSubmitProtectionRepository>
protected SpincastFormsProtectionConfig
protected SpincastUtils
Methods inherited from class com.mitchellbosecke.pebble.extension.AbstractExtension
getAttributeResolver, getBinaryOperators, getFilters, getGlobalVariables, getNodeVisitors, getTests, getTokenParsers, getUnaryOperators
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mitchellbosecke.pebble.extension.Extension
getAttributeResolver, getBinaryOperators, getFilters, getGlobalVariables, getNodeVisitors, getTests, getTokenParsers, getUnaryOperators
-
Field Details
-
logger
protected static final org.slf4j.Logger logger -
FONCTION_NAME_FORM_DOUBLE_SUBMIT_PROTECTION_FIELD_NAME
- See Also:
-
FONCTION_NAME_FORM_DOUBLE_SUBMIT_PROTECTION_FIELD_VALUE
- See Also:
-
FONCTION_NAME_FORM_DOUBLE_SUBMIT_DISABLE_PROTECTION_FIELD_NAME
- See Also:
-
FONCTION_NAME_FORM_CSRF_PROTECTTION_FIELD_NAME
- See Also:
-
FONCTION_NAME_FORM_CSRF_PROTECTTION_FIELD_VALUE
- See Also:
-
-
Constructor Details
-
SpincastFormsProtectionPebbleExtensionDefault
@Inject public SpincastFormsProtectionPebbleExtensionDefault(com.google.common.base.Optional<SpincastFormsDoubleSubmitProtectionRepository> SpincastFormsDoubleSubmitProtectionRepositoryOptional, SpincastConfig spincastConfig, SpincastUtils spincastUtils, SpincastFormsProtectionConfig spincastFormsProtectionConfig, SpincastFormsDoubleSubmitProtectionFilter spincastFormsDoubleSubmitProtectionFilter, SpincastFormsCsrfProtectionFilter spincastFormsCsrfProtectionFilter)
-
-
Method Details
-
getSpincastFormsDoubleSubmitProtectionRepositoryOptional
protected com.google.common.base.Optional<SpincastFormsDoubleSubmitProtectionRepository> getSpincastFormsDoubleSubmitProtectionRepositoryOptional() -
getSpincastConfig
-
getSpincastFormsProtectionConfig
-
getSpincastUtils
-
getSpincastFormsDoubleSubmitProtectionFilter
-
getSpincastFormsCsrfProtectionFilter
-
getFunctions
- Specified by:
getFunctions
in interfacecom.mitchellbosecke.pebble.extension.Extension
- Overrides:
getFunctions
in classcom.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()
-