com.sun.identity.saml2.assertion
Interface SubjectConfirmationData

All Known Subinterfaces:
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.


Method Summary
 java.lang.String getAddress()
          Returns the network address/location from which an attesting entity can present the assertion
 java.util.List getContent()
          Returns a list of arbitrary XML elements to be added to this SubjectConfirmationData object.
 java.lang.String getInResponseTo()
          Returns the ID of a SAML protocol message in response to which an attesting entity can present the assertion
 java.util.Date getNotBefore()
          Returns the time instant before which the subject cannot be confirmed
 java.util.Date getNotOnOrAfter()
          Returns the time instant at which the subject can no longer be confirmed
 java.lang.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(java.lang.String value)
          Sets the network address/location from which an attesting entity can present the assertion
 void setContent(java.util.List content)
          Sets a list of arbitrary XML elements to be added to this SubjectConfirmationData object.
 void setInResponseTo(java.lang.String value)
          Sets the ID of a SAML protocol message in response to which an attesting entity can present the assertion
 void setNotBefore(java.util.Date value)
          Sets the time instant before which the subject cannot be confirmed
 void setNotOnOrAfter(java.util.Date value)
          Sets the time instant at which the subject can no longer be confirmed
 void setRecipient(java.lang.String value)
          Sets the URI specifying the entity or location to which an attesting entity can present the assertion
 java.lang.String toXMLString()
          Returns a String representation
 java.lang.String toXMLString(boolean includeNSPrefix, boolean declareNS)
          Returns a String representation
 

Method Detail

getNotOnOrAfter

public java.util.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

public void setNotOnOrAfter(java.util.Date value)
                     throws SAML2Exception
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:
SAML2Exception - if the object is immutable

getInResponseTo

public java.lang.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

public void setInResponseTo(java.lang.String value)
                     throws SAML2Exception
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:
SAML2Exception - if the object is immutable

getContent

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

Returns:
a list of arbitrary XML elements to be added to this SubjectConfirmationData object.

setContent

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

Parameters:
content - a list of arbitrary XML elements to be added to this SubjectConfirmationData object.
Throws:
SAML2Exception - if the object is immutable

getRecipient

public java.lang.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

public void setRecipient(java.lang.String value)
                  throws SAML2Exception
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:
SAML2Exception - if the object is immutable

getNotBefore

public java.util.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

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

Parameters:
value - the time instant before which the subject cannot be confirmed
Throws:
SAML2Exception - if the object is immutable

getAddress

public java.lang.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

public void setAddress(java.lang.String value)
                throws SAML2Exception
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:
SAML2Exception - if the object is immutable

toXMLString

public java.lang.String toXMLString(boolean includeNSPrefix,
                                    boolean declareNS)
                             throws SAML2Exception
Returns a String representation

Parameters:
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.
Returns:
A String representation
Throws:
SAML2Exception - if something is wrong during conversion

toXMLString

public java.lang.String toXMLString()
                             throws SAML2Exception
Returns a String representation

Returns:
A String representation
Throws:
SAML2Exception - if something is wrong during conversion

makeImmutable

public void makeImmutable()
Makes the object immutable


isMutable

public boolean isMutable()
Returns true if the object is mutable

Returns:
true if the object is mutable


Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.