Hi Litty, I've played with Spring security && GWT at http://code.google.com/p/net-orcades-spring/
If you're confident with Spring (Security) && GWT the lack of documentation won't block you :-/ On Tue, Nov 18, 2008 at 12:52 PM, Litty Preeth <[EMAIL PROTECTED]> wrote: > Hi All, > > What should be the best authentication ans session management in GWT apps? > Currently I am having this idea: > > Have a method checkSession() which will check for a valid authenticated > session and throws an Exception if no valid session is there. > Call this method in the beginning of every ServiceImpl method. > In the onFailure of the async call backs catch this Exception and display > the login page. > > But this method has the following weak points: > > Some developer may forget to call the checkSession method. > There is code duplication in the onFailure implementation (Every onFailure > shud handle the authentication exception) > > So any of you have any better ideas? > > Regards, > Litty Preeth > > > > > -- Si l'ignorance peut servir de consolation, elle n'en est pas moins illusoire. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
