org.eclipse.higgins.proxy.web.util
Class OpenIDUtil
java.lang.Object
org.eclipse.higgins.proxy.web.util.OpenIDUtil
public class OpenIDUtil
- extends Object
|
Method Summary |
static void |
authResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.openid4java.message.ParameterList parameterList)
|
static void |
authResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.openid4java.message.ParameterList parameterList,
String username,
String password,
String policy,
UIResponseCardTO selectedCardTo,
String cardUsername,
String cardPassword,
Boolean remember)
|
static String |
crdFromParameterList(org.openid4java.message.ParameterList parameterList)
This method reads a .crd based on an OpenID request. |
static String |
policyFromParameterList(org.openid4java.message.ParameterList parameterList,
boolean forcePpid)
This method reads or constructs a policy based on an OpenID request. |
policyFromParameterList
public static String policyFromParameterList(org.openid4java.message.ParameterList parameterList,
boolean forcePpid)
throws Exception
- This method reads or constructs a policy based on an OpenID request.
If the OpenID request doesn't contain AX FETCH or SREG, this method returns null.
- Throws:
Exception
crdFromParameterList
public static String crdFromParameterList(org.openid4java.message.ParameterList parameterList)
throws Exception
- This method reads a .crd based on an OpenID request.
If the OpenID request doesn't contain AX STORE, this method returns null.
- Throws:
Exception
authResponse
public static void authResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.openid4java.message.ParameterList parameterList)
throws Exception
- Throws:
Exception
authResponse
public static void authResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.openid4java.message.ParameterList parameterList,
String username,
String password,
String policy,
UIResponseCardTO selectedCardTo,
String cardUsername,
String cardPassword,
Boolean remember)
throws Exception
- Throws:
Exception