public class SAML2AssertionToken extends oracle.security.xmlsec.saml2.core.Assertion implements WSSXMLSecurityToken
| Constructor and Description |
|---|
SAML2AssertionToken(oracle.security.xmlsec.saml2.core.Assertion assertion)
Create a new
SAML2AssertionToken instance from the given saml2:Assertion element. |
SAML2AssertionToken(org.w3c.dom.Element element)
Create a new
SAML2AssertionToken instance from the given XML element. |
SAML2AssertionToken(org.w3c.dom.Element element, java.lang.String systemId)
Create a new
SAML2AssertionToken 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
|
addSignature, addSignature, addStatement, clearSignature, getAdvice, getAttributeStatements, getAuthnStatements, getAuthzDecisionStatements, getConditions, getID, getIssueInstant, getIssuer, getSignature, getSubject, getVersion, isSigned, setAdvice, setConditions, setID, setIssueInstant, setIssuer, setSubject, 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 SAML2AssertionToken(org.w3c.dom.Element element)
SAML2AssertionToken instance from the given XML element.element - A SAML2 Assertion Token element.
public SAML2AssertionToken(org.w3c.dom.Element element,
java.lang.String systemId)
SAML2AssertionToken instance from the given XML element.element - A saml2:Assertion element.systemId - The URI string system ID for this element.public SAML2AssertionToken(oracle.security.xmlsec.saml2.core.Assertion assertion)
SAML2AssertionToken instance from the given saml2:Assertion element.assertion - A saml2: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()