Re: GWT+SpringSecurity - handling session-timeout

2011-02-08 Thread El Mentecato Mayor
A few suggestions about sign-in are already here although maybe they don't touch much about session expiration: http://code.google.com/webtoolkit/articles/dynamic_host_page.html About the redirect you mentioned getting lost, my educated guess is that most likely the redirection is working but you

GWT+SpringSecurity - handling session-timeout

2011-02-07 Thread andrew
Hi, we are implementing an application using GWT2.1 + Spring security 3.0. We use a SSO Kerberos authentication, if this fails, user can still log in through a login page. Our basic configuration is something like this: T

Re: handling session timeout - is there a central hook?

2010-12-28 Thread nacho
In the server side I created a class (MyServiceServlet) that extends from RemoteServiceServlet and in the method onBeforeRequestDeserialized(String serializedRequest) i check if the user is logued. If is not, i throw a AuthenticationException. And in the client side I created a abstract class that

Re: handling session timeout - is there a central hook?

2010-12-28 Thread sergio von Knorring
Hi Magnus You can implement a java Filter in the server Side and check if the session is valid if is not valid yo do the redirect in the server side. you can use that way if you call a normal resource to the server for example a .js or img or .jsp or html to use it for a RPC call you must imple

Re: handling session timeout - is there a central hook?

2010-12-27 Thread Sergio Von Knorring
Hi you can use a Java filter in the server side to check if the session id Regards Enviado desde mi iPhone El 27-12-2010, a las 19:56, Magnus escribió: > Hi, > > I wondered why my application still worked, even when the session > timed out on the server. It still worked, because the current u

handling session timeout - is there a central hook?

2010-12-27 Thread Magnus
Hi, I wondered why my application still worked, even when the session timed out on the server. It still worked, because the current user is also stored in my application and I never check this against the server's session data. However, I have a lot of services and each service has a lot of metho

Re: Handling session timeout

2010-10-15 Thread Rick Porter
There are many ways to handle it. You should decide what is important to your users and for your environment, and how you define a session expiration. In one GWT application, I use the Google UserService to get the current user on the server side. I make sure the user is logged in at the start, an

Re: Handling session timeout

2010-10-15 Thread Rick Porter
There are many ways to handle it, but you need to consider how to present it to your users and other constraints specific to your environment. In one GWT app, I did nothing to detect client-side inactivity. I used the Google UserService to detect session expiration on the server side whenever ther

Re: Handling session timeout

2010-10-14 Thread masterGaurav
Let your server return some error code - say, 401. The moment your application (I assume you are using Ajax calls... using either RequestBuilder or GWT-RPC) receives a 401 response, redirect him to the login page. -Gaurav www.mastergaurav.com On Oct 15, 2:09 am, "andres.arellano" wrote: > Hi

Handling session timeout

2010-10-14 Thread andres.arellano
Hi there, how can I handle a session expiration? What I want to do is to auto sign out users when their sessions have expired. Thanks in advance, Andres -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to