public class AuthnQueryImpl extends SubjectQueryAbstractImpl implements AuthnQuery
Modifier and Type | Field and Description |
---|---|
protected RequestedAuthnContext |
requestedAuthnContext |
protected String |
sessionIndex |
subject
consent, destinationURI, elementName, extensions, isMutable, isSignatureValid, isSigned, issueInstant, nameID, publicKey, requestId, signatureString, signedXMLString, version
Constructor and Description |
---|
AuthnQueryImpl()
Constructor to create
AuthnQuery Object . |
AuthnQueryImpl(Element element)
Constructor to create
AuthnQuery Object. |
AuthnQueryImpl(String xmlString)
Constructor to create
AuthnQuery Object. |
Modifier and Type | Method and Description |
---|---|
RequestedAuthnContext |
getRequestedAuthnContext()
Returns the
RequestedAuthnContext object. |
String |
getSessionIndex()
Returns the value of the
SessionIndex attribute. |
protected void |
getXMLString(Set namespaces,
StringBuffer attrs,
StringBuffer childElements,
boolean includeNSPrefix,
boolean declareNS) |
protected void |
parseDOMAttributes(Element element)
Parses attributes of the Docuemnt Element for this object.
|
protected void |
parseDOMChileElements(ListIterator iter)
Parses child elements of the Docuemnt Element for this object.
|
void |
setRequestedAuthnContext(RequestedAuthnContext requestedAuthnContext)
Sets the
RequestedAuthnContext object. |
void |
setSessionIndex(String sessionIndex)
Sets the value of
SessionIndex attribute. |
getSubject, setSubject, validateData
getAttributesString, getConsent, getDestination, getElements, getExtensions, getID, getIssueInstant, getIssuer, getSignature, getVersion, isMutable, isSignatureValid, isSigned, makeImmutable, parseDOMElement, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion, sign, toXMLString, toXMLString, validateID, validateIssueInstant, validateVersion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSubject, setSubject
getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getSignature, getVersion, isMutable, isSignatureValid, isSigned, makeImmutable, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion, sign, toXMLString, toXMLString
protected RequestedAuthnContext requestedAuthnContext
protected String sessionIndex
public AuthnQueryImpl()
AuthnQuery
Object .public AuthnQueryImpl(Element element) throws SAML2Exception
AuthnQuery
Object.element
- the Document Element Object.SAML2Exception
- if error creating AuthnQuery
Object.public AuthnQueryImpl(String xmlString) throws SAML2Exception
AuthnQuery
Object.xmlString
- the XML String.SAML2Exception
- if error creating AuthnQuery
Object.public RequestedAuthnContext getRequestedAuthnContext()
RequestedAuthnContext
object.getRequestedAuthnContext
in interface AuthnQuery
RequestedAuthnContext
object.setRequestedAuthnContext(RequestedAuthnContext)
public void setRequestedAuthnContext(RequestedAuthnContext requestedAuthnContext) throws SAML2Exception
RequestedAuthnContext
object.setRequestedAuthnContext
in interface AuthnQuery
requestedAuthnContext
- the new RequestedAuthnContext
object.SAML2Exception
- if the object is immutable.getRequestedAuthnContext()
public String getSessionIndex()
SessionIndex
attribute.getSessionIndex
in interface AuthnQuery
SessionIndex
attribute.setSessionIndex(String)
public void setSessionIndex(String sessionIndex) throws SAML2Exception
SessionIndex
attribute.setSessionIndex
in interface AuthnQuery
sessionIndex
- new value of the SessionIndex
attribute.SAML2Exception
- if the object is immutable.getSessionIndex()
protected void getXMLString(Set namespaces, StringBuffer attrs, StringBuffer childElements, boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
getXMLString
in class SubjectQueryAbstractImpl
SAML2Exception
protected void parseDOMAttributes(Element element) throws SAML2Exception
parseDOMAttributes
in class SubjectQueryAbstractImpl
element
- the Document Element of this object.SAML2Exception
- if error parsing the Document Element.protected void parseDOMChileElements(ListIterator iter) throws SAML2Exception
parseDOMChileElements
in class SubjectQueryAbstractImpl
iter
- the child elements iterator.SAML2Exception
- if error parsing the Document Element.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.