Class SpincastFormsProtectionPlugin
java.lang.Object
org.spincast.core.guice.SpincastPluginBase
org.spincast.plugins.formsprotection.SpincastFormsProtectionPlugin
- All Implemented Interfaces:
SpincastContextTypesInterested
,SpincastPlugin
Spincast Forms Protection plugin.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.inject.Module
apply
(com.google.inject.Module module) Applies the plugin.protected com.google.inject.Module
applyRequiredPlugins
(com.google.inject.Module module) protected com.google.inject.Module
applySpincastCryptoPlugin
(com.google.inject.Module module) protected com.google.inject.Module
applySpincastScheduledTasksPlugin
(com.google.inject.Module module) protected com.google.inject.Module
applySpincastSessionPlugin
(com.google.inject.Module module) getId()
The id of the plugin.protected com.google.inject.Module
Methods inherited from class org.spincast.core.guice.SpincastPluginBase
createdGuiceInjector, getPluginsToDisable, getRequestContextImplementationClass, getWebsocketContextImplementationClass, setContextTypes, setRequestContextImplementationClass, setWebsocketContextImplementationClass
-
Field Details
-
logger
protected static final org.slf4j.Logger logger -
PLUGIN_ID
-
-
Constructor Details
-
SpincastFormsProtectionPlugin
public SpincastFormsProtectionPlugin()
-
-
Method Details
-
getId
Description copied from interface:SpincastPlugin
The id of the plugin. -
apply
public com.google.inject.Module apply(com.google.inject.Module module) Description copied from interface:SpincastPlugin
Applies the plugin.The plugin can add bindings to the current Guice module, can modify it and can inspect it in order to decide what to bind or not.
- Returns:
- an ajusted Guice module.
-
applyRequiredPlugins
protected com.google.inject.Module applyRequiredPlugins(com.google.inject.Module module) -
applySpincastCryptoPlugin
protected com.google.inject.Module applySpincastCryptoPlugin(com.google.inject.Module module) -
applySpincastScheduledTasksPlugin
protected com.google.inject.Module applySpincastScheduledTasksPlugin(com.google.inject.Module module) -
applySpincastSessionPlugin
protected com.google.inject.Module applySpincastSessionPlugin(com.google.inject.Module module) -
getPluginModule
protected com.google.inject.Module getPluginModule()
-