Class UserLoggingContextFilter

  • All Implemented Interfaces:
    javax.servlet.Filter

    public class UserLoggingContextFilter
    extends com.atlassian.core.filters.AbstractHttpFilter
    Servlet filter that adds the currently logged in user to the Log4J Mapped Diagnostic Context
    See Also:
    LoggingContext
    • Constructor Detail

      • UserLoggingContextFilter

        public UserLoggingContextFilter()
    • Method Detail

      • doFilter

        public void doFilter​(javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response,
                             javax.servlet.FilterChain filterChain)
                      throws IOException,
                             javax.servlet.ServletException
        Specified by:
        doFilter in class com.atlassian.core.filters.AbstractHttpFilter
        Throws:
        IOException
        javax.servlet.ServletException