From 803f567da8a6871a0795a8ade56163b559bd9939 Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Tue, 2 Oct 2007 01:08:18 +0000 Subject: [PATCH] Add marker interface to NewID for use in NewEncryptedID. --- saml/saml2/core/Protocols.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/saml/saml2/core/Protocols.h b/saml/saml2/core/Protocols.h index 3b5e68a..6c0e510 100644 --- a/saml/saml2/core/Protocols.h +++ b/saml/saml2/core/Protocols.h @@ -38,7 +38,6 @@ namespace opensaml { DECL_XMLOBJECT_SIMPLE(SAML_API,Artifact,Artifact,SAML 2.0 Artifact element); DECL_XMLOBJECT_SIMPLE(SAML_API,GetComplete,GetComplete,SAML 2.0 GetComplete element); - DECL_XMLOBJECT_SIMPLE(SAML_API,NewID,NewID,SAML 2.0 NewID element); DECL_XMLOBJECT_SIMPLE(SAML_API,RequesterID,RequesterID,SAML 2.0 RequesterID element); DECL_XMLOBJECT_SIMPLE(SAML_API,SessionIndex,SessionIndex,SAML 2.0 SessionIndex element); DECL_XMLOBJECT_SIMPLE(SAML_API,StatusMessage,Message,SAML 2.0 StatusMessage element); @@ -284,6 +283,10 @@ namespace opensaml { static const XMLCh TYPE_NAME[]; END_XMLOBJECT; + BEGIN_XMLOBJECT(SAML_API,NewID,saml2::EncryptableObject,SAML 2.0 NewID element); + DECL_SIMPLE_CONTENT(NewID); + END_XMLOBJECT; + BEGIN_XMLOBJECT(SAML_API,NewEncryptedID,saml2::EncryptedElementType,SAML 2.0 NewEncryptedID element); END_XMLOBJECT; -- 2.1.4