Package com.sun.identity.saml2.protocol
Interface AuthnQuery
-
- All Superinterfaces:
RequestAbstract,SubjectQueryAbstract,XmlSerializable
@SupportedAll public interface AuthnQuery extends SubjectQueryAbstract
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RequestedAuthnContextgetRequestedAuthnContext()Returns theRequestedAuthnContextobject.StringgetSessionIndex()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, 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 Detail
-
getRequestedAuthnContext
RequestedAuthnContext getRequestedAuthnContext()
Returns theRequestedAuthnContextobject.- Returns:
- the
RequestedAuthnContextobject. - See Also:
setRequestedAuthnContext(RequestedAuthnContext)
-
setRequestedAuthnContext
void setRequestedAuthnContext(RequestedAuthnContext requestedAuthnContext) throws SAML2Exception
Sets theRequestedAuthnContextobject.- Parameters:
requestedAuthnContext- the newRequestedAuthnContextobject.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getRequestedAuthnContext()
-
getSessionIndex
String getSessionIndex()
Returns the value of theSessionIndexattribute.- Returns:
- value of
SessionIndexattribute. - See Also:
setSessionIndex(String)
-
setSessionIndex
void setSessionIndex(String sessionIndex) throws SAML2Exception
Sets the value ofSessionIndexattribute.- Parameters:
sessionIndex- new value of theSessionIndexattribute.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getSessionIndex()
-
-