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 -
Constructor Summary
ConstructorsConstructorDescriptionSpincastFormsProtectionPebbleExtensionDefault(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.Functionprotected com.mitchellbosecke.pebble.extension.Functionprotected com.mitchellbosecke.pebble.extension.Functionprotected com.mitchellbosecke.pebble.extension.Functionprotected com.mitchellbosecke.pebble.extension.Functionprotected SpincastConfigprotected SpincastFormsCsrfProtectionFilterprotected com.google.common.base.Optional<SpincastFormsDoubleSubmitProtectionRepository>protected SpincastFormsProtectionConfigprotected SpincastUtilsMethods inherited from class com.mitchellbosecke.pebble.extension.AbstractExtension
getAttributeResolver, getBinaryOperators, getFilters, getGlobalVariables, getNodeVisitors, getTests, getTokenParsers, getUnaryOperatorsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getFunctionsin interfacecom.mitchellbosecke.pebble.extension.Extension- Overrides:
getFunctionsin 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()
-