I have an app running on Google app engine. I want to change the sign-in from using google, to using open id, in Java.
So, I tried following this guide:
http://code.google.com/appengine/articles/openid.html
I changed the authentication to federated login on the application settings dashboard.
I put this in the web.xml:
<servlet> <servlet-name>LoginRequiredServlet</servlet-name> <servlet-class>XXXXXX.server.LoginRequiredServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>LoginRequiredServlet</servlet-name> <url-pattern>/_ah/login_required</url-pattern> </servlet-mapping>
I created a class called LoginRequiredServlet, with the code that is on the above link. I renamed their class OpenIdDemoServlet to LoginRequiredServlet.
I redeployed. Upon going to my landing page, it only takes me a google login page. What exactly do I have to do to so it can show a few links to other OpenID providers?
What am I missing?
Thanks.