Bewerken

Delen via


SamlAssertion.CanWriteSourceData Property

Definition

Gets a value that indicates whether this assertion was deserialized from XML source and can re-emit the XML data unchanged.

public:
 virtual property bool CanWriteSourceData { bool get(); };
public virtual bool CanWriteSourceData { get; }
member this.CanWriteSourceData : bool
Public Overridable ReadOnly Property CanWriteSourceData As Boolean

Property Value

true if this assertion can re-emit the XML source data unchanged; otherwise, false.

Remarks

The default implementation preserves the source data when read using the ReadAssertion method and can re-emit the original data as long as the AssertionId property has not changed from the time that assertion was read.

Important

It is very important that SAML assertions with different data have different IDs. If implementing a scheme whereby an assertion "template" is loaded and certain bits of data are filled in, the Id must be changed.

Applies to

See also