Add assertion indicator to base class.
[shibboleth/cpp-opensaml.git] / saml / saml1 / core / Assertions.h
index 56afa7c..85e821f 100644 (file)
@@ -216,6 +216,9 @@ namespace opensaml {
         END_XMLOBJECT;
 
         BEGIN_XMLOBJECT(SAML_API,Assertion,RootObject,SAML 1.x Assertion element);
+            bool isAssertion() const {
+                return true;
+            }
             DECL_INTEGER_ATTRIB(MinorVersion,MINORVERSION);
             DECL_STRING_ATTRIB(AssertionID,ASSERTIONID);
             DECL_STRING_ATTRIB(Issuer,ISSUER);