org.wso2.solutions.identity.sts.saml
Interface SAMLTokenBuilder
- All Known Implementing Classes:
- SAML1TokenBuilder, SAML2TokenBuilder
public interface SAMLTokenBuilder
The builder pattern. Builder interface. Concrete implementations build
SAMLAssertions of different types.
createStatement
void createStatement(IdentityProviderData ipData,
org.apache.rahas.RahasData rahasData)
throws IdentityProviderException
- Throws:
IdentityProviderException
createSAMLAssertion
void createSAMLAssertion(org.joda.time.DateTime notAfter,
org.joda.time.DateTime notBefore,
java.lang.String assertionId)
throws IdentityProviderException
- Throws:
IdentityProviderException
setSignature
void setSignature(java.lang.String signatureAlgorithm,
org.opensaml.xml.security.x509.X509Credential cred)
throws IdentityProviderException
- Throws:
IdentityProviderException
marshellAndSign
void marshellAndSign()
throws IdentityProviderException
- Throws:
IdentityProviderException
getSAMLasDOM
org.w3c.dom.Element getSAMLasDOM()
throws IdentityProviderException
- Throws:
IdentityProviderException