@WebListener public class CsrfSetupFilter extends Object implements ServletContextListener
WebListener
responsible for CSRF-protection.Platform.Property.CSRF_FILTER_ENABLED
,
SiteProperties.CSRF_PROTECTION_ENABLED
,
SiteProperties.CSRF_PROTECTED_METHODS
,
SiteProperties.CSRF_PROTECTED_PATHS
Modifier and Type | Field and Description |
---|---|
static String |
CSRF_TOKEN |
Constructor and Description |
---|
CsrfSetupFilter() |
Modifier and Type | Method and Description |
---|---|
void |
contextDestroyed(ServletContextEvent sce) |
void |
contextInitialized(ServletContextEvent sce) |
public static final String CSRF_TOKEN
public void contextInitialized(ServletContextEvent sce)
contextInitialized
in interface ServletContextListener
public void contextDestroyed(ServletContextEvent sce)
contextDestroyed
in interface ServletContextListener
Copyright © 2011–2017 aiticon GmbH. All rights reserved.