Thanks Alex & Jens,
I have two separate applications where I'd like to use this approach
to protect against XSRF attacks.
In one of them I'm seeing this problem with GWT in hosted mode so
there is no login process at all. Eventually it will be put inside of
an enterprise ear and will have a login process so given what you say
that will solve the problem...but I still need a solution for hosted
mode so I can develop/test.
In the other app I'm planning to use method level security with Spring
Security (AOP) so in this app there will not be a separate login app/
url process...it's just the GWT app. Personally I don't like the JSF/
JSP approach of redirecting to separate URLs/etc because I want one
look for all of my GWT app not different for login/logout etc. And
the redirect approach just doesn't seem to fit well in the RPC world.
Thanks!
-Dave