for nacho:
what if you save user information in variables/class that declared in
MainEntryPoint. Whenever user refresh the browser, that variable will
flush/reset to null, if that variable == null, show login page.

So far that's what i've been done, may be it's not the best way.

On Thursday, November 24, 2011, nacho wrote:

> I have implemented Spring Security and GWT togheter, but what I can't
> figure out hw can I handle is how to logout when an RPC fails because the
> user is not logged in anymore.
>
> For example, the user logs in in my application, then he for example clean
> the browser session, so he is not logged in anymore. And now he want's to
> perform some action that call's an RPC, obviusly this call fails beacause
> the user need to be logued in to call /rpc/*
>
> I would like that if the user logs out by any reason, and calls an RPC
> that fails (beacause he's logued out) redirect the user to the login again.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/zT2RLl-1ClgJ.
> To post to this group, send email to 
> google-web-toolkit@googlegroups.com<javascript:_e({}, 'cvml', 
> 'google-web-toolkit@googlegroups.com');>
> .
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com <javascript:_e({},
> 'cvml', 'google-web-toolkit%2bunsubscr...@googlegroups.com');>.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>


-- 
Regards,
--
*Jusran Mawardi*

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to