|
Oracle Fusion Middleware Web Services Security Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10678-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.xmlsec.util.XMLNode
oracle.security.xmlsec.util.XMLElement
oracle.security.xmlsec.saml.SAMLMessage
oracle.security.xmlsec.saml.Assertion
oracle.security.xmlsec.wss.saml.SAMLAssertionToken
public class SAMLAssertionToken
This class represents a SAML Assertion for use as a WSS Security Token.
Field Summary |
---|
Fields inherited from class oracle.security.xmlsec.util.XMLNode |
---|
node, systemId |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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 |
Methods inherited from class oracle.security.xmlsec.saml.Assertion |
---|
addStatement, getAdvice, getAssertionID, getAttributeStatements, getAuthenticationStatements, getAuthorizationDecisionStatements, getConditions, getID, getIssueInstant, getIssuer, getLocalNamesPrecedeDSig, getNSURIsPrecedeDSig, setAdvice, setAssertionID, setConditions, setIssueInstant, setIssuer |
Methods inherited from class oracle.security.xmlsec.saml.SAMLMessage |
---|
addSignature, addSignature, clearSignature, getInstance, getMajorVersion, getMinorVersion, getSignature, isSigned, setVersion, sign, sign, verify, verify |
Methods inherited from class oracle.security.xmlsec.util.XMLElement |
---|
addNSPrefixAttr, 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, setDefaultNSPrefix |
Methods inherited from class oracle.security.xmlsec.util.XMLNode |
---|
appendChild, 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, toStringXML |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.security.xmlsec.wss.WSSecurityToken |
---|
getNode |
Constructor Detail |
---|
public 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.Method Detail |
---|
public oracle.security.xmlsec.util.QName getTokenName()
getTokenName
in interface WSSecurityToken
QName
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.KeyRetrievalException
public java.security.cert.X509Certificate retrieveX509()
public java.util.Vector retrieveX509List()
|
Oracle Fusion Middleware Web Services Security Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10678-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |