public.javadoc.org.spincast.plugins.formsprotection.SpincastFormsProtectionPlugin.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.
SpincastFormsProtectionPlugin (org.spincast:spincast-framework 1.0.0 API)
org.spincast.plugins.formsprotection
Class SpincastFormsProtectionPlugin
- java.lang.Object
-
- org.spincast.core.guice.SpincastPluginBase
-
- org.spincast.plugins.formsprotection.SpincastFormsProtectionPlugin
-
- All Implemented Interfaces:
- SpincastContextTypesInterested, SpincastPlugin
public class SpincastFormsProtectionPlugin
extends SpincastPluginBase
Spincast Forms Protection plugin.
-
-
Field Summary
Fields
Modifier and Type
Field and Description
protected static org.slf4j.Logger
logger
static String
PLUGIN_ID
-
Constructor Summary
Constructors
Constructor and Description
SpincastFormsProtectionPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
com.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)
String
getId()
The id of the plugin.
protected com.google.inject.Module
getPluginModule()
-
Methods inherited from class org.spincast.core.guice.SpincastPluginBase
createdGuiceInjector, getPluginsToDisable, getRequestContextImplementationClass, getWebsocketContextImplementationClass, setContextTypes, setRequestContextImplementationClass, setWebsocketContextImplementationClass
-
-
Field Detail
-
logger
protected static final org.slf4j.Logger logger
-
PLUGIN_ID
public static final String PLUGIN_ID
-
Method Detail
-
getId
public String 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()
Copyright © 2019. All rights reserved.