@Override
  public FilterCallContext beforeDoFilter(FilterCallContext callContext) {
    final HttpServletRequest httpServletRequest = callContext.getHttpServletRequest();
    final HttpServletResponse httpServletResponse = callContext.getHttpServletResponse();

    //
    // this is the first filter in JIRA and hence the earliest possible moment to set these things
    // up
    ExecutingHttpRequest.set(httpServletRequest, httpServletResponse);
    accessLogRequestInfo.enterRequest(httpServletRequest, httpServletResponse);

    return callContext;
  }
  @Override
  public FilterCallContext finallyAfterDoFilter(FilterCallContext callContext) {
    ExecutingHttpRequest.clear();
    accessLogRequestInfo.exitRequest(callContext.getHttpServletRequest());

    return callContext;
  }