Class DebugFilter

  • All Implemented Interfaces:

    public final class DebugFilter
    extends java.lang.Object
    implements javax.servlet.Filter
    Spring Security debugging filter.

    Logs information (such as session creation) to help the user understand how requests are being handled by Spring Security and provide them with other relevant information (such as when sessions are being created).

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy()  
      void doFilter​(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain filterChain)  
      void init​(javax.servlet.FilterConfig filterConfig)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • doFilter

        public void doFilter​(javax.servlet.ServletRequest request,
                             javax.servlet.ServletResponse response,
                             javax.servlet.FilterChain filterChain)
                      throws javax.servlet.ServletException,
        Specified by:
        doFilter in interface javax.servlet.Filter
      • init

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

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