Package com.sun.identity.saml2.protocol
Interface AuthnQuery
- All Superinterfaces:
RequestAbstract
,SubjectQueryAbstract
,XmlSerializable
This class represents the AuthnQueryType complex type.
The following schema fragment specifies the expected content contained within this java content object.
<complexType name="AuthnQueryType"> <complexContent> <extension base="{urn:oasis:names:tc:SAML:2.0:protocol}SubjectQueryAbstractType"> <sequence> <element ref="{urn:oasis:names:tc:SAML:2.0:protocol}RequestedAuthnContext" minOccurs="0"/> </sequence> <attribute name="SessionIndex" type="string" use="optional"/> </extension> </complexContent> </complexType>
-
Method Summary
Modifier and TypeMethodDescriptionReturns theRequestedAuthnContext
object.Returns the value of theSessionIndex
attribute.void
setRequestedAuthnContext
(RequestedAuthnContext requestedAuthnContext) Sets theRequestedAuthnContext
object.void
setSessionIndex
(String sessionIndex) Sets the value ofSessionIndex
attribute.Methods inherited from interface com.sun.identity.saml2.protocol.RequestAbstract
getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getSignature, getVersion, isMutable, isSignatureValid, isSigned, makeImmutable, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion, sign
Methods inherited from interface com.sun.identity.saml2.protocol.SubjectQueryAbstract
getSubject, setSubject
Methods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment, toXMLString, toXMLString
-
Method Details
-
getRequestedAuthnContext
RequestedAuthnContext getRequestedAuthnContext()Returns theRequestedAuthnContext
object.- Returns:
- the
RequestedAuthnContext
object. - See Also:
-
setRequestedAuthnContext
void setRequestedAuthnContext(RequestedAuthnContext requestedAuthnContext) throws com.sun.identity.saml2.common.SAML2Exception Sets theRequestedAuthnContext
object.- Parameters:
requestedAuthnContext
- the newRequestedAuthnContext
object.- Throws:
com.sun.identity.saml2.common.SAML2Exception
- if the object is immutable.- See Also:
-
getSessionIndex
String getSessionIndex()Returns the value of theSessionIndex
attribute.- Returns:
- value of
SessionIndex
attribute. - See Also:
-
setSessionIndex
Sets the value ofSessionIndex
attribute.- Parameters:
sessionIndex
- new value of theSessionIndex
attribute.- Throws:
com.sun.identity.saml2.common.SAML2Exception
- if the object is immutable.- See Also:
-