Class UserNameHeaderFilter

  • All Implemented Interfaces:
    javax.servlet.Filter

    public class UserNameHeaderFilter
    extends com.atlassian.core.filters.AbstractHttpFilter
    Adds the current remote user as a header (X-AUSERNAME) to the response.
    • Constructor Detail

      • UserNameHeaderFilter

        public UserNameHeaderFilter()
    • Method Detail

      • doFilter

        protected 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