|
Oracle Security Developer Tools Liberty 1.1 Java API Reference 11g (11.1.1) E10670-02 |
||||||||
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.samlp.ResponseType
oracle.security.xmlsec.liberty.v11.LibResponseMessage
oracle.security.xmlsec.liberty.v11.AuthnResponse
public class AuthnResponse
This class represents the AuthnResponse element in the Liberty Single Sign-on and Federation protocol. The identity provider responds to an AuthnRequest from the service provider with an AuthnResponse containing authentication assertions or artifacts the service provider can dereference into authentication assertions. All the authentication assertions are Liberty assertions of the type lib:Assertiontype which is an extension of the saml:AssertionType.
LibAssertion
, LibAuthenticationStatement
, LibSubject
Field Summary |
---|
Fields inherited from class oracle.security.xmlsec.liberty.v11.LibResponseMessage |
---|
NO_AVAILABLE_IDP, NO_SUPPORTED_IDP, UNSUPPORTED_PROFILE |
Fields inherited from class oracle.security.xmlsec.util.XMLNode |
---|
node, systemId |
Constructor Summary | |
---|---|
AuthnResponse(org.w3c.dom.Document owner) Creates a new AuthnResponse instance within the specified XML Document. |
|
AuthnResponse(org.w3c.dom.Document owner, java.lang.String responseId, java.util.Date issueInstant, java.lang.String providerId) Creates a new AuthnResponse instance within the specified XML Document. |
|
AuthnResponse(org.w3c.dom.Element element) Creates a new AuthnResponse instance from the given Element node. |
|
AuthnResponse(org.w3c.dom.Element element, java.lang.String systemId) Creates a new AuthnResponse instance from the given Element node. |
Method Summary | |
---|---|
void |
addAssertion(oracle.security.xmlsec.saml.Assertion assertion) Adds a Liberty Assertion element to this response. |
java.util.List |
getAssertions() Gets the list of Liberty authentication assertions contained in this response. |
protected java.lang.String[] |
getChildElementsLocalNames() Returns the orderded set of the local names of the child elements specified in the schema for the XML element represented by the concrete subclass. |
protected java.lang.String[] |
getChildElementsNSURIs() Returns the orderded set of the namespce URIs for the child elements specified in the schema for the XML element represented by the concrete subclass. |
Methods inherited from class oracle.security.xmlsec.liberty.v11.LibResponseMessage |
---|
addSignature, addSignature, getChildElementPosition, getId, getInstance, getProviderID, getRelayState, getStatus, setId, setProviderID, setRelayState, setStatus |
Methods inherited from class oracle.security.xmlsec.samlp.ResponseType |
---|
getID, getInResponseTo, getIssueInstant, getLocalNamesPrecedeDSig, getNSURIsPrecedeDSig, getRecipient, getResponseID, setInResponseTo, setIssueInstant, setRecipient, setResponseID |
Methods inherited from class oracle.security.xmlsec.saml.SAMLMessage |
---|
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 |
Constructor Detail |
---|
public AuthnResponse(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
AuthnResponse
instance from the given Element node.
element
- A Liberty AuthnResponse XML element.org.w3c.dom.DOMException
public AuthnResponse(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
AuthnResponse
instance from the given Element node.
element
- A Liberty AuthnResponse XML element.systemId
- The URI string system ID for the AuthnResponse
.org.w3c.dom.DOMException
public AuthnResponse(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
AuthnResponse
instance within the specified XML Document.
owner
- The owner document of the new Liberty AuthnResponse element.org.w3c.dom.DOMException
public AuthnResponse(org.w3c.dom.Document owner, java.lang.String responseId, java.util.Date issueInstant, java.lang.String providerId)
AuthnResponse
instance within the specified XML Document.
owner
- The owner document of the new Liberty AuthnResponse element.responseId
- The ResponseID
attribute.issueInstant
- The IssueInstant
attribute.providerId
- The ProviderID
child element.Method Detail |
---|
public void addAssertion(oracle.security.xmlsec.saml.Assertion assertion)
assertion
- An LibAssertion
object.public java.util.List getAssertions()
List
containing LibAssertion
objects, or an empty List
if none has been set.protected java.lang.String[] getChildElementsNSURIs()
LibResponseMessage
getChildElementsNSURIs
in class LibResponseMessage
protected java.lang.String[] getChildElementsLocalNames()
LibResponseMessage
getChildElementsLocalNames
in class LibResponseMessage
|
Oracle Security Developer Tools Liberty 1.1 Java API Reference 11g (11.1.1) E10670-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |