public class AuthnQuery extends SubjectQuery
VERSION| Modifier | Constructor and Description |
|---|---|
|
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. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getSubject, getXsiType, setSubject, setXsiTypeaddSignature, addSignature, clearSignature, getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getSignature, getVersion, isSigned, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, 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, toStringXML
public AuthnQuery(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
AuthnQuery instance from the given Element node.element - An AuthnQuery element.org.w3c.dom.DOMException
public AuthnQuery(org.w3c.dom.Element element,
java.lang.String systemId)
throws org.w3c.dom.DOMException
AuthnQuery instance from the given Element node.element - An AuthnQuery element.systemId - The URI string system ID for the AuthnQuery.org.w3c.dom.DOMException
public AuthnQuery(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
AuthnQuery instance.owner - The owner document of the new AuthnQuery.org.w3c.dom.DOMException
protected AuthnQuery(org.w3c.dom.Document owner,
java.lang.String nsURI,
java.lang.String localName)
throws org.w3c.dom.DOMException
AuthnQuery instance. This is for use in any sub-class for extension of the samlp:AuthnQuery element.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.org.w3c.dom.DOMExceptionpublic void setRequestedAuthnContext(RequestedAuthnContext ctx)
ctx - An RequestedAuthnContext object.public RequestedAuthnContext getRequestedAuthnContext()
RequestedAuthnContext object or null if not specified.public void setSessionIndex(java.lang.String index)
index - A String value.public java.lang.String getSessionIndex()