0

Problem of Spring security and session Time out

asked 2011-04-10 09:27:32 +0800

wumingguoke gravatar image wumingguoke
30 1

In my project we use ZK 3.6.4 and Spring Security.
now there is a problem:
We set Spring security logout page 'login.zul', zk session timeout page 'timeout.zul'.
when the 'logout' of Spring security action , it do filterChain, clean Session, and sometime it redirect to 'timeout page', not login.zul.I still do not know why and how can soulve this problem, Any body help? Thanks!

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2011-04-10 09:30:04 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

Please show us the configuration.xml

link publish delete flag offensive edit

answered 2011-04-11 08:00:15 +0800

wumingguoke gravatar image wumingguoke
30 1

spring configuration:
<http access-denied-page="/errorPage.zul" auto-config="true"
session-fixation-protection="none">
<form-login login-page="/login.zul"
authentication-failure-url="/login.zul?error=1" default-target-url="/index.zul" />
<logout logout-success-url="/login.zul" />
<http-basic />

<remember-me key="test" />
<!-- <concurrent-session-control />-->
</http>

zk.xml configuration
<session-config>
<automatic-timeout/>
<timeout-uri>/timeout.zul</timeout-uri>
</session-config>

<session-config>
<session-timeout>1800</session-timeout>
</session-config>

<system-config>
<disable-event-thread />
</system-config>

link publish delete flag offensive edit

answered 2011-04-11 18:17:06 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

That's all ??

Which version of spring you use ?
Does the error doesn't come before you have change something ?

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2011-04-10 09:27:32 +0800

Seen: 2,020 times

Last updated: Apr 11 '11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More