Class CrowdSecurePluginFilterChainEnhancer
java.lang.Object
com.atlassian.crowd.console.filter.CrowdSecurePluginFilterChainEnhancer
- All Implemented Interfaces:
com.atlassian.plugin.servlet.ServletModuleManager
public class CrowdSecurePluginFilterChainEnhancer
extends Object
implements com.atlassian.plugin.servlet.ServletModuleManager
Enhances the plugin filters with access check.
- Since:
- 6.0
-
Constructor Summary
ConstructorsConstructorDescriptionCrowdSecurePluginFilterChainEnhancer
(com.atlassian.plugin.servlet.ServletModuleManager delegate, AnnotatedSecurityChecker securityChecker) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFilterModule
(com.atlassian.plugin.servlet.descriptors.ServletFilterModuleDescriptor servletFilterModuleDescriptor) void
addServlet
(com.atlassian.plugin.Plugin plugin, String s, String s1) void
addServlet
(com.atlassian.plugin.Plugin plugin, String s, javax.servlet.http.HttpServlet httpServlet, javax.servlet.ServletContext servletContext) void
addServletModule
(com.atlassian.plugin.servlet.descriptors.ServletModuleDescriptor servletModuleDescriptor) Iterable<javax.servlet.Filter>
getFilters
(com.atlassian.plugin.servlet.filter.FilterLocation location, String pathInfo, javax.servlet.FilterConfig filterConfig, com.atlassian.plugin.servlet.filter.FilterDispatcherCondition condition) Iterable<javax.servlet.Filter>
getFilters
(com.atlassian.plugin.servlet.filter.FilterLocation location, String pathInfo, javax.servlet.FilterConfig filterConfig, javax.servlet.DispatcherType dispatcherType) javax.servlet.http.HttpServlet
getServlet
(String s, javax.servlet.ServletConfig servletConfig) void
removeFilterModule
(com.atlassian.plugin.servlet.descriptors.ServletFilterModuleDescriptor servletFilterModuleDescriptor) void
removeServletModule
(com.atlassian.plugin.servlet.descriptors.ServletModuleDescriptor servletModuleDescriptor)
-
Constructor Details
-
CrowdSecurePluginFilterChainEnhancer
public CrowdSecurePluginFilterChainEnhancer(com.atlassian.plugin.servlet.ServletModuleManager delegate, AnnotatedSecurityChecker securityChecker)
-
-
Method Details
-
addServletModule
public void addServletModule(com.atlassian.plugin.servlet.descriptors.ServletModuleDescriptor servletModuleDescriptor) - Specified by:
addServletModule
in interfacecom.atlassian.plugin.servlet.ServletModuleManager
-
getServlet
public javax.servlet.http.HttpServlet getServlet(String s, javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException - Specified by:
getServlet
in interfacecom.atlassian.plugin.servlet.ServletModuleManager
- Throws:
javax.servlet.ServletException
-
removeServletModule
public void removeServletModule(com.atlassian.plugin.servlet.descriptors.ServletModuleDescriptor servletModuleDescriptor) - Specified by:
removeServletModule
in interfacecom.atlassian.plugin.servlet.ServletModuleManager
-
addFilterModule
public void addFilterModule(com.atlassian.plugin.servlet.descriptors.ServletFilterModuleDescriptor servletFilterModuleDescriptor) - Specified by:
addFilterModule
in interfacecom.atlassian.plugin.servlet.ServletModuleManager
-
getFilters
public Iterable<javax.servlet.Filter> getFilters(com.atlassian.plugin.servlet.filter.FilterLocation location, String pathInfo, javax.servlet.FilterConfig filterConfig, com.atlassian.plugin.servlet.filter.FilterDispatcherCondition condition) throws javax.servlet.ServletException - Specified by:
getFilters
in interfacecom.atlassian.plugin.servlet.ServletModuleManager
- Throws:
javax.servlet.ServletException
-
getFilters
public Iterable<javax.servlet.Filter> getFilters(com.atlassian.plugin.servlet.filter.FilterLocation location, String pathInfo, javax.servlet.FilterConfig filterConfig, javax.servlet.DispatcherType dispatcherType) - Specified by:
getFilters
in interfacecom.atlassian.plugin.servlet.ServletModuleManager
-
removeFilterModule
public void removeFilterModule(com.atlassian.plugin.servlet.descriptors.ServletFilterModuleDescriptor servletFilterModuleDescriptor) - Specified by:
removeFilterModule
in interfacecom.atlassian.plugin.servlet.ServletModuleManager
-
addServlet
- Specified by:
addServlet
in interfacecom.atlassian.plugin.servlet.ServletModuleManager
-
addServlet
public void addServlet(com.atlassian.plugin.Plugin plugin, String s, javax.servlet.http.HttpServlet httpServlet, javax.servlet.ServletContext servletContext) - Specified by:
addServlet
in interfacecom.atlassian.plugin.servlet.ServletModuleManager
-