We have a corporate siteminder based login that I can't touch. Our applications are fronted by apache with a siteminder plugin and our apps behind that on tomcat.
So our rpc's are being redirected to the standard login page when the session has timed out as discussed in http://www.smartclient.com/smartgwt/javadoc/com/smartgwt/client/docs/Relogin.html
Also we can't "configure your authentication system to return a special response specifically for background requests for data"
So how do we reliably detect the timeout?
I can see (via firebug) that 302's are being sent back to the client, but I don't see those in the transformResponse. It seems to have already followed the redirection by then.
I was also hoping to check the status of the siteminder cookie but I noticed it never gets reset in the response to rpc's, only if the main page is reloaded.
But I don't get this cause that should mean that our session would timeout even if the user is triggering ajax calls. This doesn't seem to happen so clearly I'm missing something.
Any help greatly appreciated.
So our rpc's are being redirected to the standard login page when the session has timed out as discussed in http://www.smartclient.com/smartgwt/javadoc/com/smartgwt/client/docs/Relogin.html
Also we can't "configure your authentication system to return a special response specifically for background requests for data"
So how do we reliably detect the timeout?
I can see (via firebug) that 302's are being sent back to the client, but I don't see those in the transformResponse. It seems to have already followed the redirection by then.
I was also hoping to check the status of the siteminder cookie but I noticed it never gets reset in the response to rpc's, only if the main page is reloaded.
But I don't get this cause that should mean that our session would timeout even if the user is triggering ajax calls. This doesn't seem to happen so clearly I'm missing something.
Any help greatly appreciated.
Comment