Class SPNEGOFilter

  • All Implemented Interfaces:
    javax.servlet.Filter

    public class SPNEGOFilter
    extends org.exoplatform.container.web.AbstractFilter
    Filter is needed because when fallback to FORM authentication, we don't need to redirect request to /dologin, which is secured URI, but we need to go directly to /initiatelogin without going again through Tomcat authenticator. TODO: Suggest removing this filter as with new GateIn (Servlet 3.0 authentication) it may not be needed anymore
    Author:
    Marek Posolda
    • Constructor Detail

      • SPNEGOFilter

        public SPNEGOFilter()
    • Method Detail

      • doFilter

        public void doFilter​(javax.servlet.ServletRequest request,
                             javax.servlet.ServletResponse response,
                             javax.servlet.FilterChain chain)
                      throws IOException,
                             javax.servlet.ServletException
        Throws:
        IOException
        javax.servlet.ServletException
      • destroy

        public void destroy()