org.wso2.solutions.identity.sts
Class IdentityProviderData
java.lang.Object
org.wso2.solutions.identity.sts.IdentityProviderData
- Direct Known Subclasses:
- OpenIDInfoCardProviderData
public class IdentityProviderData
- extends java.lang.Object
Meta-data collection of related to CardSpace required for token issuance.
Constructor Summary |
IdentityProviderData(org.apache.rahas.RahasData data)
Populate CardSpace specific meta-data. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cardID
protected java.lang.String cardID
requestedClaims
protected java.util.Map requestedClaims
displayTokenLang
protected java.lang.String displayTokenLang
userClass
public java.lang.String userClass
USERMAN_SERVICE
public static final java.lang.String USERMAN_SERVICE
- See Also:
- Constant Field Values
USER_CLASS
public static final java.lang.String USER_CLASS
- See Also:
- Constant Field Values
userStore
protected UserStore userStore
claimObjs
protected java.util.Map claimObjs
IdentityProviderData
public IdentityProviderData(org.apache.rahas.RahasData data)
throws IdentityProviderException,
java.lang.ClassNotFoundException
- Populate CardSpace specific meta-data.
- Parameters:
data
- WS-Trust information in the issue request.
- Throws:
IdentityProviderException
java.lang.ClassNotFoundException
getCardID
public java.lang.String getCardID()
getValueForClaim
public java.lang.String getValueForClaim(java.lang.String claim)
getDisplayTokenLang
public java.lang.String getDisplayTokenLang()
getRequestedClaims
public java.util.Map getRequestedClaims()
getRequestedClaim
protected IdentityProviderData.RequestedClaimData getRequestedClaim()
populateClaimValues
protected void populateClaimValues(org.apache.rahas.RahasData rahasData)
throws IdentityProviderException
- Throws:
IdentityProviderException
processUserIdentifier
protected void processUserIdentifier(org.apache.rahas.RahasData rahasData)
throws IdentityProviderException
- Obtain the user identifier depending on the authentication mechanism
used.
- Parameters:
rahasData
-
- Throws:
IdentityProviderException
getDisplayName
public java.lang.String getDisplayName(java.lang.String URI)
loadClaims
protected void loadClaims()
throws IdentityProviderException
- Throws:
IdentityProviderException
readAuthenticationMechanism
protected void readAuthenticationMechanism(org.apache.rahas.RahasData data)
throws IdentityProviderException
- Throws:
IdentityProviderException
getRpCert
public java.security.cert.X509Certificate getRpCert()
getUserIdentifier
public java.lang.String getUserIdentifier()
setUserIdentifier
public void setUserIdentifier(java.lang.String userIdentifier)
getRequiredTokenType
public java.lang.String getRequiredTokenType()
setRequiredTokenType
public void setRequiredTokenType(java.lang.String requiredTokenType)
getDefautTokenType
protected java.lang.String getDefautTokenType()
- This parameter specifies the type of the token to be requested from the
STS as a URI. This parameter can be omitted if the STS and the Web site
front-end have a mutual understanding about what token type will be
provided, or if the Web site is willing to accept any token type.
- Returns:
- Default Token Type