com.atlassian.confluence.util
Class UserThreadLocalFilter
java.lang.Object
com.atlassian.core.filters.AbstractHttpFilter
com.atlassian.confluence.util.UserThreadLocalFilter
- All Implemented Interfaces:
- Filter
public class UserThreadLocalFilter
- extends AbstractHttpFilter
Makes sure the current user is always in the AuthenticatedUserThreadLocal at the beginning of a request, and is cleared
at the end.
Obviously, this filter can only be run after Seraph gets its grubby little paws on the request.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
userAccessor
protected UserAccessor userAccessor
UserThreadLocalFilter
public UserThreadLocalFilter()
doFilter
public void doFilter(HttpServletRequest request,
HttpServletResponse response,
FilterChain filterChain)
throws IOException,
ServletException
- Specified by:
doFilter in class AbstractHttpFilter
- Throws:
IOException
ServletException
getUserAccessor
protected UserAccessor getUserAccessor()