Spring Framework 3.2.x(3.2.12-RELEASE)とSpring Security 3.2.x(3.2.5-RELEASE)に基づいて構築されたWebアプリケーションがありますSpringセッションとSpringセキュリティ(3.2.X RELEASE)
セキュリティは古典的なスプリングアプローチで実装されています。 web.xmlで、私たちはのApplicationContextとspringSecurityFilterChain要件の変更のよう
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0">
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
classpath*:META-INF/spring/applicationContext*.xml
</param-value>
</context-param>
...
<filter>
<filter-name>springSecurityFilterChain</filter-name>
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
</filter>
<filter-mapping>
<filter-name>springSecurityFilterChain</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
、我々は同じブラウザ内のタブ(またはウィンドウ)ごとに異なるのHttpSessionを許可する方法について検討しようとしているをロード:このシナリオでは、同じ物理ユーザーが、2つの別個のアプリケーションユーザーを使用してアプリケーションにログインできます。
JSESSIONIDのクッキーアプローチを使用することはできません。私は春のセッション(Spring Session and Spring Security とSpring Session Multiple Session)を使用しようとしていますが、私はそれを行うことはできません、Tomcatは多くのエラーで始まる前に、
私はXMLとJavaConfigが合併して新しくなったので、誰でも私にSpringセッションの進め方についてのヒントを教えてくれますか?
要件を満たす他の方法はありますか?