org.wso2.solutions.identity.relyingparty.openid.extensions
Class OpenIDPape

java.lang.Object
  extended by org.wso2.solutions.identity.relyingparty.openid.extensions.OpenIDPape
All Implemented Interfaces:
OpenIDExtension

public class OpenIDPape
extends java.lang.Object
implements OpenIDExtension


Constructor Summary
OpenIDPape()
          Default constructor
OpenIDPape(org.openid4java.message.AuthSuccess authSuccess)
          Constructed during building the response
 
Method Summary
 org.openid4java.message.MessageExtension getMessageExtension(OpenIDAuthenticationRequest request)
          Creates an instance of MessageExtension for the OpenID authentication request
 void setSessionAttributes(javax.servlet.http.HttpServletRequest request)
          Set session attributes with the received OpenID response
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenIDPape

public OpenIDPape()
Default constructor


OpenIDPape

public OpenIDPape(org.openid4java.message.AuthSuccess authSuccess)
Constructed during building the response

Parameters:
authSuccess - An instance of AuthSuccess
Method Detail

getMessageExtension

public org.openid4java.message.MessageExtension getMessageExtension(OpenIDAuthenticationRequest request)
                                                             throws RelyingPartyException
Creates an instance of MessageExtension for the OpenID authentication request

Specified by:
getMessageExtension in interface OpenIDExtension
Parameters:
request - OpenID authentication request
Returns:
An instance of MessageExtension
Throws:
RelyingPartyException

setSessionAttributes

public void setSessionAttributes(javax.servlet.http.HttpServletRequest request)
                          throws RelyingPartyException
Set session attributes with the received OpenID response

Specified by:
setSessionAttributes in interface OpenIDExtension
Parameters:
request - HttpServletRequest
Throws:
RelyingPartyException