com.atlassian.confluence.util
Class UserNameHeaderFilter
java.lang.Object
com.atlassian.core.filters.AbstractHttpFilter
com.atlassian.confluence.util.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.
Method Summary |
protected void |
doFilter(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
|
Methods inherited from class com.atlassian.core.filters.AbstractHttpFilter |
destroy, doFilter, init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserNameHeaderFilter
public UserNameHeaderFilter()
doFilter
protected void doFilter(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
throws java.io.IOException,
javax.servlet.ServletException
- Specified by:
doFilter
in class com.atlassian.core.filters.AbstractHttpFilter
- Throws:
java.io.IOException
javax.servlet.ServletException
Copyright © 2003-2013 Atlassian. All Rights Reserved.