org.wso2.solutions.identity.relyingparty.openid
Class OpenIDUtil

java.lang.Object
  extended by org.wso2.solutions.identity.relyingparty.openid.OpenIDUtil

public class OpenIDUtil
extends java.lang.Object


Constructor Summary
OpenIDUtil()
           
 
Method Summary
static boolean isOpenIDAuthetication(javax.servlet.http.HttpServletRequest request)
          Validates whether the provided request is an OpenID authentication request.
static boolean isOpenIDInfoCardToken(java.lang.String xmlToken)
          Validates whether the given XMLToken corresponding to an OpenID information card.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenIDUtil

public OpenIDUtil()
Method Detail

isOpenIDInfoCardToken

public static boolean isOpenIDInfoCardToken(java.lang.String xmlToken)
Validates whether the given XMLToken corresponding to an OpenID information card.

Parameters:
xmlToken - OpenIDToken
Returns:
true if validated as an OpenID information card, else false.

isOpenIDAuthetication

public static boolean isOpenIDAuthetication(javax.servlet.http.HttpServletRequest request)
Validates whether the provided request is an OpenID authentication request.

Parameters:
request - HttpServletRequest
Returns:
true if validated as an OpenID authentication, else false.