org.wso2.solutions.identity.sts.saml
Class SAML1TokenBuilder
java.lang.Object
org.wso2.solutions.identity.sts.saml.SAML1TokenBuilder
- All Implemented Interfaces:
- SAMLTokenBuilder
public class SAML1TokenBuilder
- extends java.lang.Object
- implements SAMLTokenBuilder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
assertion
protected org.opensaml.saml1.core.Assertion assertion
attributeStmt
protected org.opensaml.saml1.core.AttributeStatement attributeStmt
signatureList
protected java.util.List signatureList
signedAssertion
protected org.w3c.dom.Element signedAssertion
appilesTo
protected java.lang.String appilesTo
CONF_KEY
public static final java.lang.String CONF_KEY
- See Also:
- Constant Field Values
SAML1TokenBuilder
public SAML1TokenBuilder()
createStatement
public void createStatement(IdentityProviderData ipData,
org.apache.rahas.RahasData rahasData)
throws IdentityProviderException
- Specified by:
createStatement
in interface SAMLTokenBuilder
- Throws:
IdentityProviderException
createSAMLAssertion
public void createSAMLAssertion(org.joda.time.DateTime notAfter,
org.joda.time.DateTime notBefore,
java.lang.String assertionId)
throws IdentityProviderException
- Specified by:
createSAMLAssertion
in interface SAMLTokenBuilder
- Throws:
IdentityProviderException
setSignature
public void setSignature(java.lang.String signatureAlgorithm,
org.opensaml.xml.security.x509.X509Credential cred)
throws IdentityProviderException
- Specified by:
setSignature
in interface SAMLTokenBuilder
- Throws:
IdentityProviderException
marshellAndSign
public void marshellAndSign()
throws IdentityProviderException
- Specified by:
marshellAndSign
in interface SAMLTokenBuilder
- Throws:
IdentityProviderException
getSAMLasDOM
public org.w3c.dom.Element getSAMLasDOM()
throws IdentityProviderException
- Specified by:
getSAMLasDOM
in interface SAMLTokenBuilder
- Throws:
IdentityProviderException
buildXMLObject
protected static org.opensaml.xml.XMLObject buildXMLObject(javax.xml.namespace.QName objectQName)
throws IdentityProviderException
- Throws:
IdentityProviderException