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

    Constructors
    Constructor
    Description
    CrowdSecurePluginFilterChainEnhancer(com.atlassian.plugin.servlet.ServletModuleManager delegate, AnnotatedSecurityChecker securityChecker)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface com.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 interface com.atlassian.plugin.servlet.ServletModuleManager
      Throws:
      javax.servlet.ServletException
    • removeServletModule

      public void removeServletModule(com.atlassian.plugin.servlet.descriptors.ServletModuleDescriptor servletModuleDescriptor)
      Specified by:
      removeServletModule in interface com.atlassian.plugin.servlet.ServletModuleManager
    • addFilterModule

      public void addFilterModule(com.atlassian.plugin.servlet.descriptors.ServletFilterModuleDescriptor servletFilterModuleDescriptor)
      Specified by:
      addFilterModule in interface com.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 interface com.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 interface com.atlassian.plugin.servlet.ServletModuleManager
    • removeFilterModule

      public void removeFilterModule(com.atlassian.plugin.servlet.descriptors.ServletFilterModuleDescriptor servletFilterModuleDescriptor)
      Specified by:
      removeFilterModule in interface com.atlassian.plugin.servlet.ServletModuleManager
    • addServlet

      public void addServlet(com.atlassian.plugin.Plugin plugin, String s, String s1)
      Specified by:
      addServlet in interface com.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 interface com.atlassian.plugin.servlet.ServletModuleManager