Class RestrictedFileFilter

  • All Implemented Interfaces:
    JcmsConstants, JaliosConstants, javax.servlet.Filter

    public class RestrictedFileFilter
    extends JcmsServletFilter
    implements javax.servlet.Filter, JcmsConstants
    This servlet filter controls access to restricted files
    Since:
    jcms-3.0
    Version:
    $Revision: 107686 $
    Author:
    Olivier Dedieu
    • Constructor Detail

      • RestrictedFileFilter

        public RestrictedFileFilter()
    • Method Detail

      • init

        public void init​(javax.servlet.FilterConfig config)
        Specified by:
        init in interface javax.servlet.Filter
      • doFilter

        public void doFilter​(javax.servlet.ServletRequest req,
                             javax.servlet.ServletResponse res,
                             javax.servlet.FilterChain chain)
                      throws java.io.IOException,
                             javax.servlet.ServletException
        Specified by:
        doFilter in interface javax.servlet.Filter
        Throws:
        java.io.IOException
        javax.servlet.ServletException
      • getFilterConfig

        public javax.servlet.FilterConfig getFilterConfig()
      • setFilterConfig

        public void setFilterConfig​(javax.servlet.FilterConfig config)
      • destroy

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