manager.setPrivateAssociations(new InMemoryServerAssociationStore());
manager.setOPEndpointUrl(request.getScheme() + "://"
+ request.getServerName() + ":"
+ request.getServerPort() + "/simple-openid/provider.jsp");
ParameterList requestp;
if ("complete".equals(request.getParameter("_action"))) // Completing the authz and authn process by redirecting here
{
requestp=(ParameterList) session.getAttribute("parameterlist"); // On a redirect from the OP authn & authz sequence
}
else
{
requestp = new ParameterList(request.getParameterMap());
}
String mode = requestp.hasParameter("openid.mode") ?
requestp.getParameterValue("openid.mode") : null;
Message responsem;
String responseText;
if ("associate".equals(mode))