If you only require simple authentication, you can get by without even using a filter and just using auth constraints in the deployment descriptor: http://code.google.com/appengine/docs/java/config/webxml.html#Security_and_Authentication
On Wed, Dec 30, 2009 at 10:18 AM, Don Schwarz <[email protected]> wrote: > From > http://code.google.com/appengine/docs/java/gettingstarted/staticfiles.html > : > > "Any request for a URL whose path matches a static file serves the file > directly to the browser—even if the path also matches a servlet or filter > mapping. You can configure which files App Engine treats as static files > using the appengine-web.xml file." > > You can learn how to configure static files here: > > > http://code.google.com/appengine/docs/java/config/appconfig.html#Static_Files_and_Resource_Files > > On Wed, Dec 30, 2009 at 10:33 AM, gemma <[email protected]>wrote: > >> Hello! >> >> I'm new to App Engine and am jumping straight in and learning via >> writing an app, as you do. I figured that a good thing to do was to >> create a servlet filter that checks the user's login status, >> forwarding to the login page if they haven't got a login, or allowing >> the request through if they are logged in. >> >> I've created a filter and added it to web.xml with a url-pattern of / >> *. However, when I load my app's html page, the doFilter method isn't >> called. My logging output shows the filter being inited OK, but the >> doFilter doesn't get called. >> >> Is there something else I need to do to get this working? >> >> Thanks! >> Gemma >> >> -- >> >> You received this message because you are subscribed to the Google Groups >> "Google App Engine for Java" group. >> To post to this group, send email to >> [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<google-appengine-java%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/google-appengine-java?hl=en. >> >> >> > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > -- Ikai Lan Developer Programs Engineer, Google App Engine -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" 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-appengine-java?hl=en.
