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 theRequestedAuthnContextobject.Returns the value of theSessionIndexattribute.voidsetRequestedAuthnContext(RequestedAuthnContext requestedAuthnContext) Sets theRequestedAuthnContextobject.voidsetSessionIndex(String sessionIndex) Sets the value ofSessionIndexattribute.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, signMethods inherited from interface com.sun.identity.saml2.protocol.SubjectQueryAbstract
getSubject, setSubjectMethods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment, toXMLString, toXMLString
-
Method Details
-
getRequestedAuthnContext
RequestedAuthnContext getRequestedAuthnContext()Returns theRequestedAuthnContextobject.- Returns:
- the
RequestedAuthnContextobject. - See Also:
-
setRequestedAuthnContext
void setRequestedAuthnContext(RequestedAuthnContext requestedAuthnContext) throws com.sun.identity.saml2.common.SAML2Exception Sets theRequestedAuthnContextobject.- Parameters:
requestedAuthnContext- the newRequestedAuthnContextobject.- Throws:
com.sun.identity.saml2.common.SAML2Exception- if the object is immutable.- See Also:
-
getSessionIndex
String getSessionIndex()Returns the value of theSessionIndexattribute.- Returns:
- value of
SessionIndexattribute. - See Also:
-
setSessionIndex
Sets the value ofSessionIndexattribute.- Parameters:
sessionIndex- new value of theSessionIndexattribute.- Throws:
com.sun.identity.saml2.common.SAML2Exception- if the object is immutable.- See Also:
-