org.wso2.solutions.identity.sts
Class IdentityProviderUtil

java.lang.Object
  extended by org.wso2.solutions.identity.sts.IdentityProviderUtil

public class IdentityProviderUtil
extends java.lang.Object


Constructor Summary
IdentityProviderUtil()
           
 
Method Summary
static org.apache.axiom.om.OMElement createDisplayClaim(org.apache.axiom.om.OMElement parent, java.lang.String displayTag, java.lang.String displayValue, java.lang.String uri)
           
static org.apache.axiom.om.OMElement createDisplayToken(org.apache.axiom.om.OMElement parent, IdentityProviderData data)
           
static org.apache.axiom.om.OMElement createOpenIdToken(org.apache.axiom.om.OMElement parent, IdentityProviderData data)
           
static org.apache.axiom.om.OMElement createRequestedDisplayToken(org.apache.axiom.om.OMElement parent, IdentityProviderData data)
           
static java.lang.String getAppliesToHostName(org.apache.rahas.RahasData data)
          Obtain the applies to host name from the WS-Trust request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityProviderUtil

public IdentityProviderUtil()
Method Detail

createRequestedDisplayToken

public static org.apache.axiom.om.OMElement createRequestedDisplayToken(org.apache.axiom.om.OMElement parent,
                                                                        IdentityProviderData data)

createDisplayToken

public static org.apache.axiom.om.OMElement createDisplayToken(org.apache.axiom.om.OMElement parent,
                                                               IdentityProviderData data)

createDisplayClaim

public static org.apache.axiom.om.OMElement createDisplayClaim(org.apache.axiom.om.OMElement parent,
                                                               java.lang.String displayTag,
                                                               java.lang.String displayValue,
                                                               java.lang.String uri)

createOpenIdToken

public static org.apache.axiom.om.OMElement createOpenIdToken(org.apache.axiom.om.OMElement parent,
                                                              IdentityProviderData data)

getAppliesToHostName

public static java.lang.String getAppliesToHostName(org.apache.rahas.RahasData data)
                                             throws IdentityProviderException
Obtain the applies to host name from the WS-Trust request.

Parameters:
data - Data from WS-Trust request.
Returns:
applies to host name if found.
Throws:
IdentityProviderException