0

Spring Security login

asked 2010-03-16 05:10:04 +0800

zkman gravatar image zkman
78

I use Spring in my application. I looked thorough zkoss-v2-0 and zkspringsec3 examples. All of them use redirection to another page after success logon. But I want to return to the page from which I start the login dialog window. And do this with some event - for example: do visible the logout button. I try to use "login-ok-url" and execute some procedure in this zul file. But I got the error - access denied, button <logout> belongs to another desktop, though I use sessionScope to save and reuse my main class instance which procedure I try to execute in "login-ok-url" zul file.
So can you advise how to fire an event in main page when login is successful?

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2010-03-25 01:13:35 +0800

henrichen gravatar image henrichen
3869 2
ZK Team

Isn't this what you want?

http://www.zkoss.org/smalltalks/zkspringsec2/

And you cannot cache ZK component in sessionScope and share them to different desktop.

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: 2010-03-16 05:10:04 +0800

Seen: 285 times

Last updated: Mar 25 '10

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