@WebListener public class CsrfSetupFilter extends Object implements javax.servlet.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(javax.servlet.ServletContextEvent sce) |
void |
contextInitialized(javax.servlet.ServletContextEvent sce) |
public static final String CSRF_TOKEN
public void contextInitialized(javax.servlet.ServletContextEvent sce)
contextInitialized
in interface javax.servlet.ServletContextListener
public void contextDestroyed(javax.servlet.ServletContextEvent sce)
contextDestroyed
in interface javax.servlet.ServletContextListener
Copyright © 2011–2019 aiticon GmbH. All rights reserved.