Package com.sun.identity.saml2.assertion
Interface SubjectConfirmationData
- All Superinterfaces:
XmlSerializable
- All Known Subinterfaces:
KeyInfoConfirmationData
The
SubjectConfirmationData
specifies additional data
that allows the subject to be confirmed or constrains the circumstances
under which the act of subject confirmation can take place. Subject
confirmation takes place when a relying party seeks to verify the
relationship between an entity presenting the assertion and the
subject of the assertion's claims.-
Method Summary
Modifier and TypeMethodDescriptionReturns the network address/location from which an attesting entity can present the assertionReturns a list of arbitrary XML elements to be added to thisSubjectConfirmationData
object.Returns the content type attributeReturns the ID of a SAML protocol message in response to which an attesting entity can present the assertionReturns the time instant before which the subject cannot be confirmedReturns the time instant at which the subject can no longer be confirmedReturns the URI specifying the entity or location to which an attesting entity can present the assertionboolean
Returns true if the object is mutablevoid
Makes the object immutablevoid
setAddress
(String value) Sets the network address/location from which an attesting entity can present the assertionvoid
setContent
(List content) Sets a list of arbitrary XML elements to be added to thisSubjectConfirmationData
object.void
setContentType
(String attribute) Sets the content type attributevoid
setInResponseTo
(String value) Sets the ID of a SAML protocol message in response to which an attesting entity can present the assertionvoid
setNotBefore
(Date value) Sets the time instant before which the subject cannot be confirmedvoid
setNotOnOrAfter
(Date value) Sets the time instant at which the subject can no longer be confirmedvoid
setRecipient
(String value) Sets the URI specifying the entity or location to which an attesting entity can present the assertionMethods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment, toXMLString, toXMLString
-
Method Details
-
getNotOnOrAfter
Date getNotOnOrAfter()Returns the time instant at which the subject can no longer be confirmed- Returns:
- the time instant at which the subject can no longer be confirmed
-
setNotOnOrAfter
Sets the time instant at which the subject can no longer be confirmed- Parameters:
value
- the time instant at which the subject can no longer be confirmed- Throws:
com.sun.identity.saml2.common.SAML2Exception
- if the object is immutable
-
getInResponseTo
String getInResponseTo()Returns the ID of a SAML protocol message in response to which an attesting entity can present the assertion- Returns:
- the ID of a SAML protocol message in response to which an attesting entity can present the assertion
-
setInResponseTo
Sets the ID of a SAML protocol message in response to which an attesting entity can present the assertion- Parameters:
value
- the ID of a SAML protocol message in response to which an attesting entity can present the assertion- Throws:
com.sun.identity.saml2.common.SAML2Exception
- if the object is immutable
-
getContent
List getContent()Returns a list of arbitrary XML elements to be added to thisSubjectConfirmationData
object.- Returns:
- a list of arbitrary XML elements to be added to this
SubjectConfirmationData
object.
-
setContent
Sets a list of arbitrary XML elements to be added to thisSubjectConfirmationData
object.- Parameters:
content
- a list of arbitrary XML elements to be added to thisSubjectConfirmationData
object.- Throws:
com.sun.identity.saml2.common.SAML2Exception
- if the object is immutable
-
getRecipient
String getRecipient()Returns the URI specifying the entity or location to which an attesting entity can present the assertion- Returns:
- the URI specifying the entity or location to which an attesting entity can present the assertion
-
setRecipient
Sets the URI specifying the entity or location to which an attesting entity can present the assertion- Parameters:
value
- the URI specifying the entity or location to which an attesting entity can present the assertion- Throws:
com.sun.identity.saml2.common.SAML2Exception
- if the object is immutable
-
getNotBefore
Date getNotBefore()Returns the time instant before which the subject cannot be confirmed- Returns:
- the time instant before which the subject cannot be confirmed
-
setNotBefore
Sets the time instant before which the subject cannot be confirmed- Parameters:
value
- the time instant before which the subject cannot be confirmed- Throws:
com.sun.identity.saml2.common.SAML2Exception
- if the object is immutable
-
getAddress
String getAddress()Returns the network address/location from which an attesting entity can present the assertion- Returns:
- the network address/location from which an attesting entity can present the assertion
-
setAddress
Sets the network address/location from which an attesting entity can present the assertion- Parameters:
value
- the network address/location from which an attesting entity can present the assertion- Throws:
com.sun.identity.saml2.common.SAML2Exception
- if the object is immutable
-
getContentType
String getContentType()Returns the content type attribute- Returns:
- the content type attribute
- See Also:
-
setContentType
Sets the content type attribute- Parameters:
attribute
- attribute type value for the content that will be added- Throws:
com.sun.identity.saml2.common.SAML2Exception
- if the object is immutable- See Also:
-
makeImmutable
void makeImmutable()Makes the object immutable -
isMutable
boolean isMutable()Returns true if the object is mutable- Returns:
- true if the object is mutable
-