Skip navigation links

Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10676-03


oracle.security.xmlsec.saml2.protocol
Class AuthnQuery

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.saml2.protocol.RequestAbstract
              extended by oracle.security.xmlsec.saml2.protocol.SubjectQuery
                  extended by oracle.security.xmlsec.saml2.protocol.AuthnQuery


public class AuthnQuery
extends SubjectQuery

Represents a SAML query to retrieve the authentication event(s) for the specific subject.


Field Summary

 

Fields inherited from class oracle.security.xmlsec.saml2.protocol.RequestAbstract
VERSION

 

Fields inherited from class oracle.security.xmlsec.util.XMLNode
node, systemId

 

Constructor Summary
  AuthnQuery(org.w3c.dom.Document owner)
          Creates a new AuthnQuery instance.
protected AuthnQuery(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
          Creates a new AuthnQuery instance.
  AuthnQuery(org.w3c.dom.Element element)
          Creates a new AuthnQuery instance from the given Element node.
  AuthnQuery(org.w3c.dom.Element element, java.lang.String systemId)
          Creates a new AuthnQuery instance from the given Element node.

 

Method Summary
 RequestedAuthnContext getRequestedAuthnContext()
          Get the authentication context requirements.
 java.lang.String getSessionIndex()
          Return the index of the session between the subject and the authentication authority.
 void setRequestedAuthnContext(RequestedAuthnContext ctx)
          Set the authentication context requirements.
 void setSessionIndex(java.lang.String index)
          Set the index of the session between the subject and the authentication authority.

 

Methods inherited from class oracle.security.xmlsec.saml2.protocol.SubjectQuery
getSubject, getXsiType, setSubject, setXsiType

 

Methods inherited from class oracle.security.xmlsec.saml2.protocol.RequestAbstract
addSignature, addSignature, clearSignature, getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getSignature, getVersion, isSigned, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, 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

AuthnQuery

public AuthnQuery(org.w3c.dom.Element element)
           throws org.w3c.dom.DOMException
Creates a new AuthnQuery instance from the given Element node.
Parameters:
element - An AuthnQuery element.
Throws:
org.w3c.dom.DOMException

AuthnQuery

public AuthnQuery(org.w3c.dom.Element element,
                  java.lang.String systemId)
           throws org.w3c.dom.DOMException
Creates a new AuthnQuery instance from the given Element node.
Parameters:
element - An AuthnQuery element.
systemId - The URI string system ID for the AuthnQuery.
Throws:
org.w3c.dom.DOMException

AuthnQuery

public AuthnQuery(org.w3c.dom.Document owner)
           throws org.w3c.dom.DOMException
Creates a new AuthnQuery instance.
Parameters:
owner - The owner document of the new AuthnQuery.
Throws:
org.w3c.dom.DOMException

AuthnQuery

protected AuthnQuery(org.w3c.dom.Document owner,
                     java.lang.String nsURI,
                     java.lang.String localName)
              throws org.w3c.dom.DOMException
Creates a new AuthnQuery instance. This is for use in any sub-class for extension of the samlp:AuthnQuery element.
Parameters:
owner - The owner document of the new element.
nsURI - The namespace in which the new element is to be created.
localName - The localName of the new element.
Throws:
org.w3c.dom.DOMException

Method Detail

setRequestedAuthnContext

public void setRequestedAuthnContext(RequestedAuthnContext ctx)
Set the authentication context requirements.
Parameters:
ctx - An RequestedAuthnContext object.

getRequestedAuthnContext

public RequestedAuthnContext getRequestedAuthnContext()
Get the authentication context requirements.
Returns:
A RequestedAuthnContext object or null if not specified.

setSessionIndex

public void setSessionIndex(java.lang.String index)
Set the index of the session between the subject and the authentication authority.
Parameters:
index - A String value.

getSessionIndex

public java.lang.String getSessionIndex()
Return the index of the session between the subject and the authentication authority.
Returns:
The index value.

Skip navigation links

Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10676-03


Copyright © 2005, 2011 , Oracle. All rights reserved.