Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <security:session-management
- session-authentication-strategy-ref="sas" />
- </security:http>
- <bean id="sas"
- class="org.springframework.security.web.authentication.session.CompositeSessionAuthenticationStrategy">
- <constructor-arg>
- <list>
- <bean
- class="org.springframework.security.web.authentication.session.ConcurrentSessionControlAuthenticationStrategy">
- <constructor-arg ref="clusteredSessionRegistryImpl" />
- <property name="maximumSessions" value="1" />
- <property name="exceptionIfMaximumExceeded" value="false" />
- </bean>
- <bean
- class="org.springframework.security.web.authentication.session.RegisterSessionAuthenticationStrategy">
- <constructor-arg ref="clusteredSessionRegistryImpl" />
- </bean>
- </list>
- </constructor-arg>
- </bean>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement