org.eclipse.higgins.proxy.web.openid
Class OpenIDServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.eclipse.higgins.proxy.web.openid.OpenIDServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class OpenIDServlet
extends javax.servlet.http.HttpServlet
implements javax.servlet.Servlet

See Also:
Serialized Form

Constructor Summary
OpenIDServlet()
           
 
Method Summary
 void processAssociate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.openid4java.message.ParameterList parameterList)
          Process an association request from a consumer.
 void processCancel(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.openid4java.message.ParameterList parameterList)
           
 void processCheckAuthentication(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.openid4java.message.ParameterList parameterList)
           
 void processSetup(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.openid4java.message.ParameterList parameterList, String identity, String username, String policy, String crd)
          Authenticates a user using setup mode, i.e.
 
Methods inherited from class javax.servlet.http.HttpServlet
service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.Servlet
destroy, getServletConfig, getServletInfo, init, service
 

Constructor Detail

OpenIDServlet

public OpenIDServlet()
Method Detail

processAssociate

public void processAssociate(javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response,
                             org.openid4java.message.ParameterList parameterList)
                      throws Exception
Process an association request from a consumer. This is the first step in the authentication process, but can be omitted if the consumer already has an association with us.

Parameters:
requestCycle -
Throws:
Exception

processSetup

public void processSetup(javax.servlet.http.HttpServletRequest request,
                         javax.servlet.http.HttpServletResponse response,
                         org.openid4java.message.ParameterList parameterList,
                         String identity,
                         String username,
                         String policy,
                         String crd)
                  throws Exception
Authenticates a user using setup mode, i.e. display the authentication page. The submit handler of that page will finish the rest.

Parameters:
requestCycle -
Throws:
Exception

processCancel

public void processCancel(javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response,
                          org.openid4java.message.ParameterList parameterList)
                   throws Exception
Throws:
Exception

processCheckAuthentication

public void processCheckAuthentication(javax.servlet.http.HttpServletRequest request,
                                       javax.servlet.http.HttpServletResponse response,
                                       org.openid4java.message.ParameterList parameterList)
                                throws Exception
Throws:
Exception