com.sun.identity.saml2.assertion
インタフェース SubjectConfirmationData

既知のサブインタフェースの一覧:
KeyInfoConfirmationData

public interface SubjectConfirmationData

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.


メソッドの概要
 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 SubjectConfirmationData object.
 String getContentType()
          Returns the content type attribute
 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
 void setAddress(String value)
          Sets the network address/location from which an attesting entity can present the assertion
 void setContent(List content)
          Sets a list of arbitrary XML elements to be added to this SubjectConfirmationData 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
 String toXMLString(boolean includeNSPrefix, boolean declareNS)
          Returns a String representation
 

メソッドの詳細

getNotOnOrAfter

Date getNotOnOrAfter()
Returns the time instant at which the subject can no longer be confirmed

戻り値:
the time instant at which the subject can no longer be confirmed

setNotOnOrAfter

void setNotOnOrAfter(Date value)
                     throws SAML2Exception
Sets the time instant at which the subject can no longer be confirmed

パラメータ:
value - the time instant at which the subject can no longer be confirmed
例外:
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

戻り値:
the ID of a SAML protocol message in response to which an attesting entity can present the assertion

setInResponseTo

void setInResponseTo(String value)
                     throws SAML2Exception
Sets the ID of a SAML protocol message in response to which an attesting entity can present the assertion

パラメータ:
value - the ID of a SAML protocol message in response to which an attesting entity can present the assertion
例外:
SAML2Exception - if the object is immutable

getContent

List getContent()
Returns a list of arbitrary XML elements to be added to this SubjectConfirmationData object.

戻り値:
a list of arbitrary XML elements to be added to this SubjectConfirmationData object.

setContent

void setContent(List content)
                throws SAML2Exception
Sets a list of arbitrary XML elements to be added to this SubjectConfirmationData object.

パラメータ:
content - a list of arbitrary XML elements to be added to this SubjectConfirmationData object.
例外:
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

戻り値:
the URI specifying the entity or location to which an attesting entity can present the assertion

setRecipient

void setRecipient(String value)
                  throws SAML2Exception
Sets the URI specifying the entity or location to which an attesting entity can present the assertion

パラメータ:
value - the URI specifying the entity or location to which an attesting entity can present the assertion
例外:
SAML2Exception - if the object is immutable

getNotBefore

Date getNotBefore()
Returns the time instant before which the subject cannot be confirmed

戻り値:
the time instant before which the subject cannot be confirmed

setNotBefore

void setNotBefore(Date value)
                  throws SAML2Exception
Sets the time instant before which the subject cannot be confirmed

パラメータ:
value - the time instant before which the subject cannot be confirmed
例外:
SAML2Exception - if the object is immutable

getAddress

String getAddress()
Returns the network address/location from which an attesting entity can present the assertion

戻り値:
the network address/location from which an attesting entity can present the assertion

setAddress

void setAddress(String value)
                throws SAML2Exception
Sets the network address/location from which an attesting entity can present the assertion

パラメータ:
value - the network address/location from which an attesting entity can present the assertion
例外:
SAML2Exception - if the object is immutable

getContentType

String getContentType()
Returns the content type attribute

戻り値:
the content type attribute
関連項目:
SubjectConfirmationData.setContentType(String)

setContentType

void setContentType(String attribute)
                    throws SAML2Exception
Sets the content type attribute

パラメータ:
attribute - attribute type value for the content that will be added
例外:
SAML2Exception - if the object is immutable
関連項目:
SubjectConfirmationData.getContentType()

toXMLString

String toXMLString(boolean includeNSPrefix,
                   boolean declareNS)
                   throws SAML2Exception
Returns a String representation

パラメータ:
includeNSPrefix - Determines whether or not the namespace qualifier is prepended to the Element when converted
declareNS - Determines whether or not the namespace is declared within the Element.
戻り値:
A String representation
例外:
SAML2Exception - if something is wrong during conversion

toXMLString

String toXMLString()
                   throws SAML2Exception
Returns a String representation

戻り値:
A String representation
例外:
SAML2Exception - if something is wrong during conversion

makeImmutable

void makeImmutable()
Makes the object immutable


isMutable

boolean isMutable()
Returns true if the object is mutable

戻り値:
true if the object is mutable