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 RequestedAuthnContext
getRequestedAuthnContext()
Returns theRequestedAuthnContext
object.String
getSessionIndex()
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 Detail
-
getRequestedAuthnContext
RequestedAuthnContext getRequestedAuthnContext()
Returns theRequestedAuthnContext
object.- Returns:
- the
RequestedAuthnContext
object. - See Also:
setRequestedAuthnContext(RequestedAuthnContext)
-
setRequestedAuthnContext
void setRequestedAuthnContext(RequestedAuthnContext requestedAuthnContext) throws SAML2Exception
Sets theRequestedAuthnContext
object.- Parameters:
requestedAuthnContext
- the newRequestedAuthnContext
object.- Throws:
SAML2Exception
- if the object is immutable.- See Also:
getRequestedAuthnContext()
-
getSessionIndex
String getSessionIndex()
Returns the value of theSessionIndex
attribute.- Returns:
- value of
SessionIndex
attribute. - See Also:
setSessionIndex(String)
-
setSessionIndex
void setSessionIndex(String sessionIndex) throws SAML2Exception
Sets the value ofSessionIndex
attribute.- Parameters:
sessionIndex
- new value of theSessionIndex
attribute.- Throws:
SAML2Exception
- if the object is immutable.- See Also:
getSessionIndex()
-
-