request.getServerName() + ":" +
request.getServerPort() +
request.getContextPath() +
"/provider/");
OpenIDParameterList requestp;
if ("complete".equals(request.getParameter("_action"))) // Completing the authz and authn process by redirecting here
{
requestp=(OpenIDParameterList) session.getAttribute("parameterlist"); // On a redirect from the OP authn & authz sequence
}
else
{
requestp = new OpenIDParameterList(request.getParameterMap());
session.setAttribute("openid.identity", requestp.getParameter("openid.identity").getValue());
}
String mode = requestp.hasParameter("openid.mode") ?
requestp.getParameterValue("openid.mode") : null;
OpenIDMessage responsem;
String responseText;
log("[OpenIDProviderServlet]:mode=" + mode + "::ParameterMap:" + requestp);