public class SAMLAssertionToken extends oracle.security.xmlsec.saml.Assertion implements WSSXMLSecurityToken
| Constructor and Description |
|---|
SAMLAssertionToken(oracle.security.xmlsec.saml.Assertion assertion)
Create a new
SAMLAssertionToken instance from the given saml:Assertion element. |
SAMLAssertionToken(org.w3c.dom.Element element)
Create a new
SAMLAssertionToken instance from the given XML element. |
SAMLAssertionToken(org.w3c.dom.Element element, java.lang.String systemId)
Create a new
SAMLAssertionToken instance from the given XML element. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getToken()
Get the token contents.
|
oracle.security.xmlsec.util.QName |
getTokenName()
Returns the Token Name.
|
java.security.cert.X509Certificate |
retrieveX509()
Retrieve the first certificate present in SAMLAssertion -> SubjectConfirmation -> KeyInfo -> X509Data
|
java.util.Vector |
retrieveX509List()
Retrieve the list of certificates present in the SAMLAssertion -> SubjectConfirmation -> KeyInfo -> X509Data
|
void |
validateCerts()
Validate the certificates present in SAMLAssertion -> SubjectConfirmation -> KeyInfo -> X509Data
|
addStatement, getAdvice, getAssertionID, getAttributeStatements, getAuthenticationStatements, getAuthorizationDecisionStatements, getConditions, getID, getIssueInstant, getIssuer, getLocalNamesPrecedeDSig, getNSURIsPrecedeDSig, setAdvice, setAssertionID, setConditions, setIssueInstant, setIssueraddSignature, addSignature, clearSignature, getInstance, getMajorVersion, getMinorVersion, getSignature, isSigned, setVersion, sign, sign, verify, verifyaddNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefixappendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXMLclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNodepublic SAMLAssertionToken(org.w3c.dom.Element element)
SAMLAssertionToken instance from the given XML element.element - A SAML Assertion Token element.
public SAMLAssertionToken(org.w3c.dom.Element element,
java.lang.String systemId)
SAMLAssertionToken instance from the given XML element.element - A saml:Assertion element.systemId - The URI string system ID for this element.public SAMLAssertionToken(oracle.security.xmlsec.saml.Assertion assertion)
SAMLAssertionToken instance from the given saml:Assertion element.assertion - A saml:Assertion element.public oracle.security.xmlsec.util.QName getTokenName()
getTokenName in interface WSSecurityTokenQName of this token's name.public java.lang.Object getToken()
Returns a oracle.security.xmlsec.saml.Assertion object from the SAML assertion token.
getToken in interface WSSecurityToken
public void validateCerts()
throws oracle.security.xmlsec.keys.retrieval.KeyRetrievalException
oracle.security.xmlsec.keys.retrieval.KeyRetrievalExceptionpublic java.security.cert.X509Certificate retrieveX509()
public java.util.Vector retrieveX509List()