+ Ray since he was the one that wanted the redirect handled by a listener
rather than just doing it directly when we receive the response.

Note that the current behavior in GAE is that a popup saying "Need to log
in" flashes repeatedly before the user is redirected to the login page. It's
pretty disruptive.  As Bob says, if we get rid of the popup, enable
authentication, but do not install the event listener, then it fails
silently.

Bob - why is the event listener not installed by default in non roo apps? I
think it was when I originally added this code (although it has been a
while)

- Unnur


On Thu, Oct 28, 2010 at 3:16 PM, Bob Vawter <robertvaw...@google.com> wrote:

> > @@ -157,7 +157,6 @@
> >           } else if (Response.SC_UNAUTHORIZED ==
> response.getStatusCode()) {
> >             String message = "Need to log in";
> >             wireLogger.finest(message);
> > -            receiver.onTransportFailure(message);
> >           } else if (response.getStatusCode() > 0) {
>
> -1
>
> This will fail silently if the AuthenticationFailureHandler is not
> installed, which is not done by default in non-Roo apps.
>
> --
> Bob Vawter
> Google Web Toolkit Team
>

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to