Java Requestcontextholder在IBMWebSphere上的Spring4.xWeb应用程序中具有并发访问权限?

Java Requestcontextholder在IBMWebSphere上的Spring4.xWeb应用程序中具有并发访问权限?,java,spring-mvc,spring-security,websphere-8,Java,Spring Mvc,Spring Security,Websphere 8,在我的Spring4.x项目和SpringSecurity身份验证和授权中,我们在所有控制器请求映射方法中使用Requestcontextholder获得请求、会话和响应 public static HttpServletRequest getCurrentRequest() { ServletRequestAttributes servletRequestAttributes = (ServletRequestAttributes) RequestContextHolder.curre

在我的Spring4.x项目和SpringSecurity身份验证和授权中,我们在所有控制器请求映射方法中使用Requestcontextholder获得请求、会话和响应

public static HttpServletRequest getCurrentRequest() {
    ServletRequestAttributes servletRequestAttributes = (ServletRequestAttributes) RequestContextHolder.currentRequestAttributes();
    return servletRequestAttributes.getRequest();
}

public static HttpSession getCurrentSession() {
    return getCurrentRequest().getSession();
}

public static HttpServletResponse getCurrentResponse() {
    ServletRequestAttributes servletRequestAttributes = (ServletRequestAttributes) RequestContextHolder.currentRequestAttributes();
    return servletRequestAttributes.getResponse();
}
根据定义,RequestContextHolder被定义为“Holder类,以线程绑定的RequestAttributes对象的形式公开web请求。”但我不确定“线程绑定”是否代表线程安全

我们有一个问题,当两个用户有两个活动会话时,会话不知何故发生了交叉,一个用户能够看到其他用户的详细信息。我们怀疑从来自Requestcontextholder的请求中获取属性并不是web请求线程安全的

现在来问一个问题,一个线程是否有可能访问另一个线程的requestContext