Perhaps for non-roo apps, there could be an alternative AuthenticationFailureHandler which simply displays a pop-up "user not logged in".
On Thu, Oct 28, 2010 at 3:49 PM, BobV <[email protected]> wrote: > On Thu, Oct 28, 2010 at 6:26 PM, Unnur Gretarsdottir <[email protected]> > wrote: > > 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) > > There is no good default behavior in this case; authentication almost > seems to define the phrase "site-specific." The implementation of > AuthenticationFailureHandler makes assumptions about the serving > environment, namely that the "login" and "userId" headers will be > defined. If the login header is undefined, Location.replace() is > called with a null value. > > -- > Bob Vawter > Google Web Toolkit Team > -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
