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

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

public class OpenIDSimpleReg
extends java.lang.Object
implements OpenIDExtension


Constructor Summary
OpenIDSimpleReg()
          Default constructor
OpenIDSimpleReg(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
protected  void setDefaultRequestParams(org.openid4java.message.sreg.SRegRequest request)
          If no attribute set by the user for simple registration request, by default we set all the attributes.
 void setSessionAttributes(javax.servlet.http.HttpServletRequest request)
          Set request attributes for OpenID simple registration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenIDSimpleReg

public OpenIDSimpleReg()
Default constructor


OpenIDSimpleReg

public OpenIDSimpleReg(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 request attributes for OpenID simple registration

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

setDefaultRequestParams

protected void setDefaultRequestParams(org.openid4java.message.sreg.SRegRequest request)
If no attribute set by the user for simple registration request, by default we set all the attributes.

Parameters:
request - Simple registration request