Class BootstrapFilter

java.lang.Object
org.kuali.rice.krad.web.filter.BootstrapFilter
All Implemented Interfaces:
javax.servlet.Filter

public class BootstrapFilter extends Object implements javax.servlet.Filter
A filter which at runtime reads a series of filter configurations, constructs and initializes those filters, and invokes them when it is invoked. This allows runtime user configuration of arbitrary filters in the webapp context.

Note : filter mapping order numbers must be unique across all filters. Filter exclusions will do a regex match against the full path of the request.

Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Constructor Details

    • BootstrapFilter

      public BootstrapFilter()
  • Method Details

    • init

      public void init(javax.servlet.FilterConfig cfg) throws javax.servlet.ServletException
      Specified by:
      init in interface javax.servlet.Filter
      Throws:
      javax.servlet.ServletException
    • doFilter

      public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
      Specified by:
      doFilter in interface javax.servlet.Filter
      Throws:
      IOException
      javax.servlet.ServletException
    • destroy

      public void destroy()
      Specified by:
      destroy in interface javax.servlet.Filter