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

java.lang.Object
  extended by org.wso2.solutions.identity.openid.extensions.OpenIDExtension
      extended by org.wso2.solutions.identity.openid.extensions.OpenIDPape

public class OpenIDPape
extends OpenIDExtension


Constructor Summary
OpenIDPape(OpenIDAuthenticationRequest request)
          Constructed during building the response
 
Method Summary
 void addRequiredAttributes(java.util.List<java.lang.String> requiredAttributes)
           
static java.lang.String[] getAuthenticationPolicies(org.openid4java.message.AuthRequest authRequest)
           
 org.openid4java.message.MessageExtension getMessageExtension(java.lang.String userId, java.lang.String profileName)
          Creates an instance of MessageExtension for the OpenID authentication response
 
Methods inherited from class org.wso2.solutions.identity.openid.extensions.OpenIDExtension
mapToAttriId, populateAttributeValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenIDPape

public OpenIDPape(OpenIDAuthenticationRequest request)
Constructed during building the response

Parameters:
request - An instance of OpenIDAuthenticationRequest
Method Detail

addRequiredAttributes

public void addRequiredAttributes(java.util.List<java.lang.String> requiredAttributes)
                           throws IdentityProviderException
Specified by:
addRequiredAttributes in class OpenIDExtension
Throws:
IdentityProviderException

getMessageExtension

public org.openid4java.message.MessageExtension getMessageExtension(java.lang.String userId,
                                                                    java.lang.String profileName)
                                                             throws IdentityProviderException
Creates an instance of MessageExtension for the OpenID authentication response

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

getAuthenticationPolicies

public static java.lang.String[] getAuthenticationPolicies(org.openid4java.message.AuthRequest authRequest)
                                                    throws IdentityProviderException
Parameters:
authRequest -
Returns:
Throws:
IdentityProviderException