|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.solutions.identity.openid.extensions.OpenIDExtension
org.wso2.solutions.identity.openid.extensions.OpenIDAttributeExchange
public class OpenIDAttributeExchange
Constructor Summary | |
---|---|
OpenIDAttributeExchange(OpenIDAuthenticationRequest request)
Constructed during building the response |
Method Summary | |
---|---|
void |
addRequiredAttributes(java.util.List<java.lang.String> requiredAttributes)
|
protected java.lang.String |
getMappedAxSchema(java.lang.String val)
This provides a mapping between http://schema.openid.net/ and http://axschema.org |
org.openid4java.message.MessageExtension |
getMessageExtension(java.lang.String userId,
java.lang.String profileName)
Creates an instance of MessageExtension for the OpenID authentication response |
protected java.util.Map<java.lang.String,OpenIDClaim> |
populateAttributeValues(java.util.Map<java.lang.String,java.lang.String> requiredClaims,
java.lang.String userId,
java.lang.String profileName)
Populate the required claims with claim values. |
protected void |
setAttributeExchangeValues(org.openid4java.message.ax.FetchResponse response,
java.util.Map<java.lang.String,OpenIDClaim> claimValues)
Populate the response with claim values. |
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 |
---|
public OpenIDAttributeExchange(OpenIDAuthenticationRequest request)
request
- An instance of OpenIDAuthenticationRequestMethod Detail |
---|
public void addRequiredAttributes(java.util.List<java.lang.String> requiredAttributes) throws IdentityProviderException
addRequiredAttributes
in class OpenIDExtension
IdentityProviderException
public org.openid4java.message.MessageExtension getMessageExtension(java.lang.String userId, java.lang.String profileName) throws IdentityProviderException
getMessageExtension
in class OpenIDExtension
request
- OpenID authentication request
RelyingPartyException
IdentityProviderException
protected java.util.Map<java.lang.String,OpenIDClaim> populateAttributeValues(java.util.Map<java.lang.String,java.lang.String> requiredClaims, java.lang.String userId, java.lang.String profileName) throws IdentityProviderException
requiredClaims
- Required claims as requested by the RP.userId
- User ID.
IdentityProviderException
protected java.lang.String getMappedAxSchema(java.lang.String val) throws IdentityProviderException
val
- schema name-space URL
IdentityProviderException
protected void setAttributeExchangeValues(org.openid4java.message.ax.FetchResponse response, java.util.Map<java.lang.String,OpenIDClaim> claimValues) throws org.openid4java.message.MessageException
claimValues
- Claim values.
org.openid4java.message.MessageException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |