|
Oracle Security Developer Tools SAML 1.0/1.1 Java API Reference 11g (11.1.1) E10675-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.RequestType
public abstract class RequestType
An abstract class representing the SAML RequestAbstractType which defines common attributes and elements that are associated with all SAML requests.
Field Summary | |
---|---|
static java.lang.String |
ATTRIBUTE_STATEMENT RespondWith value specifying that the relying party should respond with this kind of statement: "AttributeStatement". |
static java.lang.String |
AUTHENTICATION_STATEMENT RespondWith value specifying that the relying party should respond with this kind of statement: "AuthenticationStatement". |
static java.lang.String |
AUTHORIZATION_DECISION_STATEMENT RespondWith value specifying that the relying party should respond with this kind of statement: "AuthorizationDecisionStatement". |
Fields inherited from class oracle.security.xmlsec.util.XMLNode |
---|
node, systemId |
Constructor Summary | |
---|---|
protected |
RequestType(org.w3c.dom.Document owner, java.lang.String uri, java.lang.String localName) Creates a new RequestType instance. |
protected |
RequestType(org.w3c.dom.Element element) Creates a new RequestType instance from the given Element node. |
protected |
RequestType(org.w3c.dom.Element element, java.lang.String systemId) Creates a new RequestType instance from the given Element node. |
Method Summary | |
---|---|
void |
addRespondWith(java.lang.String localValue, java.lang.String namespace) Deprecated. Use addRespondWithValue instead. |
void |
addRespondWithValue(oracle.security.xmlsec.util.QName qname) Adds a RespondWith element to the request. |
protected java.lang.String |
getID() Returns the ID attribute if any of this SAML message to be used for the signature operations. |
java.util.Date |
getIssueInstant() Returns the time instant of issue attribute. |
protected java.lang.String[] |
getLocalNamesPrecedeDSig() Obtains the ordered set of the local names of all the preceding sibling child elements of this Signature child element in the the Schema for the XML element that the implementing subclass targets for. |
protected java.lang.String[] |
getNSURIsPrecedeDSig() Obtains the ordered set of the the namespace URIs for all the preceding sibling child elements of this Signature child element in the the Schema for the XML element that the implementing subclass targets for. |
java.lang.String |
getRequestID() Returns the identifier attribute for this RequestType . |
java.util.List |
getRespondWiths() Deprecated. Use getRespondWithValues instead. |
java.util.List |
getRespondWithValues() Gets the list of QName objects specified in the RespondWith child elements in this structure. |
void |
setIssueInstant(java.util.Date issueInstant) Sets the time instant of issue attribute as a UTC time. |
void |
setRequestID(java.lang.String requestID) Sets the identifier attribute for this RequestType object. |
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 |
Field Detail |
---|
public static final java.lang.String ATTRIBUTE_STATEMENT
RespondWith
value specifying that the relying party should respond with this kind of statement: "AttributeStatement".
public static final java.lang.String AUTHENTICATION_STATEMENT
RespondWith
value specifying that the relying party should respond with this kind of statement: "AuthenticationStatement".
public static final java.lang.String AUTHORIZATION_DECISION_STATEMENT
RespondWith
value specifying that the relying party should respond with this kind of statement: "AuthorizationDecisionStatement".
Constructor Detail |
---|
protected RequestType(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
RequestType
instance from the given Element node.
element
- An element of RequestTypeorg.w3c.dom.DOMException
protected RequestType(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
RequestType
instance from the given Element node.
element
- An element of RequestTypesystemId
- The URI string system ID for the RequestType
.org.w3c.dom.DOMException
protected RequestType(org.w3c.dom.Document owner, java.lang.String uri, java.lang.String localName) throws org.w3c.dom.DOMException
RequestType
instance.
owner
- The owner document of the new RequestType.nsURI
- The namespace URI in which the new RequestType is to be created.localName
- The localName of the element represented by the class that extends this abstract class.org.w3c.dom.DOMException
Method Detail |
---|
public void setRequestID(java.lang.String requestID)
RequestType
object.requestID
- A unique ID.public java.lang.String getRequestID()
RequestType
.null
if none has been set.public void setIssueInstant(java.util.Date issueInstant)
issueInstant
- The Date
object representing the issue time.public java.util.Date getIssueInstant()
Date
object representing the issue time or null
if none has been set.public void addRespondWith(java.lang.String localValue, java.lang.String namespace)
RespondWith
element to the request. A RespondWith element specifies a type of Statement that is acceptable to the requestor. RespondWith element values are XML QNames.localValue
- The local name of the QName value of the Statement.namespace
- The namespace for the extension type of SAML Statement as specified in the xsi:type attribute. If this parameter is not specified, the SAML namespace is assumed.public java.util.List getRespondWiths()
List
of String objects or an empty List
if none has been set.public void addRespondWithValue(oracle.security.xmlsec.util.QName qname)
RespondWith
element to the request. A RespondWith element specifies a type of Statement that is acceptable to the requestor. RespondWith element values are XML QNames.qname
- The QName value of the Statement.public java.util.List getRespondWithValues()
List
of QName objects or an empty List
if none has been set.protected java.lang.String[] getNSURIsPrecedeDSig()
SAMLMessage
getNSURIsPrecedeDSig
in class SAMLMessage
protected java.lang.String[] getLocalNamesPrecedeDSig()
SAMLMessage
getLocalNamesPrecedeDSig
in class SAMLMessage
protected java.lang.String getID()
SAMLMessage
getID
in class SAMLMessage
|
Oracle Security Developer Tools SAML 1.0/1.1 Java API Reference 11g (11.1.1) E10675-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |