-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi all,
I've experienced a problem when setting up my zk app. using a SSO CAS authentication service (+ Spring security). It works fine when I login and logout from the very same application.
The issue is:
1- When I'm already logged in and a third party application logs me out, as we are using Single Sign-on, the zk applications logs me out too.
2- I refresh the zk application and I get redirected to the login page again (as the other app logged me out).
3- I successfully login again but now the application redirects me to a odd url, that is, the application URL + /zkau attached to it, which returns an empty xml document (<rs></rs>).
Any ideas or experiences?
I can expand the case if anyone has some idea.
Cheers
Hi,
I have no experience in SSO CAS authentication service, so I am not sure whether it is related to ZK or not, you may try to use a simple application to see what the different they are.
I'm pretty sure it is a problem located into zKoss side, as I have more web applications against that CAS service and they behave as they should. In fact, my zKoss application works pretty well, but in that specific case it does that weird redirection.
What is that "zkau" for? I could see it in web.xml.
The "zkau" is used for AJAX request to communicate the data between client and server, if server does nothing, it will return an empty xml document(<rs></rs>).
The case is quite specific and I couldn't fix it yet.
Would it make any sense to redirect that url ".../WepAppURL/zkau/" to ".../WepAppURL/"? Because when this happens, if I remove that zkau appended to the web app url, it works fine.
Cheers
Hi,
You can modify the "zkau" from web.xml.
<init-param> <param-name>update-uri</param-name> <param-value>/zkau</param-value> </init-param>
I've got the same response after logout/login using CAS.
Is there some way to detect the "first" ".../WepAppURL/zkau/" request ?
Maybe We could make some hack in order to strip those "extra params" from the request? (maybe in a filter?)
Asked: 2009-12-15 09:56:21 +0800
Seen: 1,922 times
Last updated: Sep 02 '10