public class SubjectConfirmationDataImpl extends Object implements SubjectConfirmationData
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. Subejct
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.Modifier and Type | Field and Description |
---|---|
String |
elementName |
protected boolean |
mutable |
Constructor and Description |
---|
SubjectConfirmationDataImpl() |
SubjectConfirmationDataImpl(Element element) |
SubjectConfirmationDataImpl(String xmlString) |
Modifier and Type | Method and Description |
---|---|
String |
getAddress()
Returns the network address/location from which an attesting
entity can present the assertion
|
List |
getContent()
Returns a list of arbitrary XML elements to be added to this
SubejctConfirmationData object. |
String |
getContentType()
Returns the content type attribute
|
protected String |
getElementValue(boolean includeNSPrefix,
boolean declareNS)
Returns a String representation of the element value
|
String |
getInResponseTo()
Returns the ID of a SAML protocol message in response to which
an attesting entity can present the assertion
|
Date |
getNotBefore()
Returns the time instant before which the subject cannot be confirmed
|
Date |
getNotOnOrAfter()
Returns the time instant at which the subject can no longer be
confirmed
|
String |
getRecipient()
Returns the URI specifying the entity or location to which an
attesting entity can present the assertion
|
boolean |
isMutable()
Returns true if the object is mutable
|
void |
makeImmutable()
Makes the object immutable
|
protected void |
parseAttributes(NamedNodeMap attrs)
Sets all the attribute values
|
protected void |
parseContent(Element element)
Parse and sets content values
|
void |
setAddress(String value)
Sets the network address/location from which an attesting
entity can present the assertion
|
void |
setContent(List value)
Sets a list of arbitrary XML elements to be added to this
SubejctConfirmationData object. |
void |
setContentType(String attribute)
Sets the content type attribute.
|
void |
setInResponseTo(String value)
Sets the ID of a SAML protocol message in response to which
an attesting entity can present the assertion
|
void |
setNotBefore(Date value)
Sets the time instant before which the subject cannot be confirmed
|
void |
setNotOnOrAfter(Date value)
Sets the time instant at which the subject can no longer be
confirmed
|
void |
setRecipient(String value)
Sets the URI specifying the entity or location to which an
attesting entity can present the assertion
|
String |
toXMLString()
Returns a String representation of the element
|
String |
toXMLString(boolean includeNSPrefix,
boolean declareNS)
Returns a String representation of the element
|
public final String elementName
protected boolean mutable
public SubjectConfirmationDataImpl()
public SubjectConfirmationDataImpl(Element element) throws SAML2Exception
SAML2Exception
public SubjectConfirmationDataImpl(String xmlString) throws SAML2Exception
SAML2Exception
protected void parseContent(Element element) throws SAML2Exception
element
- Element for this class objectSAML2Exception
protected void parseAttributes(NamedNodeMap attrs) throws SAML2Exception
attrs
- Map table has attribute name and value pairsSAML2Exception
public Date getNotOnOrAfter()
getNotOnOrAfter
in interface SubjectConfirmationData
setNotOnOrAfter(Date)
public void setNotOnOrAfter(Date value) throws SAML2Exception
setNotOnOrAfter
in interface SubjectConfirmationData
value
- the time instant at which the subject can no longer be
confirmedSAML2Exception
- if the object is immutablegetNotOnOrAfter()
public String getInResponseTo()
getInResponseTo
in interface SubjectConfirmationData
setInResponseTo(String)
public void setInResponseTo(String value) throws SAML2Exception
setInResponseTo
in interface SubjectConfirmationData
value
- the ID of a SAML protocol message in response to which
an attesting entity can present the assertionSAML2Exception
- if the object is immutablegetInResponseTo()
public List getContent()
SubejctConfirmationData
object.getContent
in interface SubjectConfirmationData
SubejctConfirmationData
object.setContent(List)
public void setContent(List value) throws SAML2Exception
SubejctConfirmationData
object.setContent
in interface SubjectConfirmationData
value
- a list of arbitrary XML elements to be added to this
SubejctConfirmationData
object.SAML2Exception
- if the object is immutablegetContent()
public String getRecipient()
getRecipient
in interface SubjectConfirmationData
setRecipient(String)
public void setRecipient(String value) throws SAML2Exception
setRecipient
in interface SubjectConfirmationData
value
- the URI specifying the entity or location to which an
attesting entity can present the assertionSAML2Exception
- if the object is immutablegetRecipient()
public Date getNotBefore()
getNotBefore
in interface SubjectConfirmationData
setNotBefore(Date)
public void setNotBefore(Date value) throws SAML2Exception
setNotBefore
in interface SubjectConfirmationData
value
- the time instant before which the subject cannot
be confirmedSAML2Exception
- if the object is immutablegetNotBefore()
public String getAddress()
getAddress
in interface SubjectConfirmationData
setAddress(String)
public void setAddress(String value) throws SAML2Exception
setAddress
in interface SubjectConfirmationData
value
- the network address/location from which an attesting
entity can present the assertionSAML2Exception
- if the object is immutablegetAddress()
public String getContentType()
getContentType
in interface SubjectConfirmationData
setContentType(String)
public void setContentType(String attribute) throws SAML2Exception
setContentType
in interface SubjectConfirmationData
attribute
- attribute type value for the content that will be
addedSAML2Exception
- if the object is immutableSubjectConfirmationData.getContentType()
public String toXMLString() throws SAML2Exception
toXMLString
in interface SubjectConfirmationData
SAML2Exception
- if something is wrong during conversionpublic String toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
toXMLString
in interface SubjectConfirmationData
includeNSPrefix
- Determines whether the namespace qualifier is
prepended to the Element when converteddeclareNS
- Determines whether the namespace is declared
within the Element.SAML2Exception
- if something is wrong during conversionprotected String getElementValue(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
includeNSPrefix
- Determines whether the namespace qualifier is
prepended to the Element when converteddeclareNS
- Determines whether or not the namespace is declared
within the Element.SAML2Exception
- if something is wrong during conversionpublic void makeImmutable()
makeImmutable
in interface SubjectConfirmationData
public boolean isMutable()
isMutable
in interface SubjectConfirmationData
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.