[appengine-java] Re: non-google authentication like in taskless
Hi George, I'm using taskless.appspot for Economy 4G3W notes at : https://sites.google.com/a/datevalors1.com/mywebjurispersonquality/home/bem-vindo-a-wuwtools4g3w Any ideas anyone? https://sites.google.com/a/datevalors1.com/mywebjurispersonquality/home/bem-vindo-a-wuwtools4g3w Thanks 2009/9/2 GregGG greg.geo...@gmail.com Does anyone know who created http://taskless.appspot.com/ ? I notice it allows for both Google account logins as well as a custom registration and authentication. I'm curious what that app is using for authentication and authorization. I've seen some people on here are using spring authentication. Maybe they're using that, but I'm guessing it must have at least a little custom coding to allow both modes of authentication. Any ideas anyone? I'm playing with the idea of creating my own custom servlet filter to do something similar but hate to write code when re-use is a possibility. Thanks. -- FilipeAlvesFerreira#4(1942) --~--~-~--~~~---~--~~ 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 google-appengine-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: HttpServletRequest.getLocalPort() returns 0
Thank you Gabriel. Obrigado/FilipeAlvesFerreira#4(1942) 2009/8/25 Gabriel Moreira gabrielmore...@gmail.com Im trying this on google appengine: public class MyFilter implements javax.servlet.Filter { public void doFilter(ServletRequest servletRequest, ServletResponse response, FilterChain filterChain) throws IOException, ServletException { response.getWriter().print(port + ((HttpServletRequest) servletRequest).getLocalPort() ); } } Testing this local url: http://localhost:8080/test.servlet AppEngine is returning 8080 on HttpServletRequest.getLocalPort(). Testing this remote url: http://myapp.appspot.com/test.servlet AppEngine is returning 0 on HttpServletRequest.getLocalPort(). Anyone can test this? -- FilipeAlvesFerreira#4(1942) --~--~-~--~~~---~--~~ 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 google-appengine-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---