[cpp-sp COMMIT] /branches/REL_2/shibsp/handler/impl/MetadataGenerator.cpp
noreply at shibboleth.net
noreply at shibboleth.net
Mon Oct 15 11:39:58 EDT 2012
Author: scantor
Date: Mon Oct 15 11:39:58 2012
New Revision: 3787
URL: http://svn.shibboleth.net/view/cpp-sp?rev=3787&view=rev
Log:
Add warning comment to metadata.
Modified:
branches/REL_2/shibsp/handler/impl/MetadataGenerator.cpp
Modified: branches/REL_2/shibsp/handler/impl/MetadataGenerator.cpp
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/shibsp/handler/impl/MetadataGenerator.cpp?rev=3787&r1=3786&r2=3787&view=diff
==============================================================================
--- branches/REL_2/shibsp/handler/impl/MetadataGenerator.cpp (original)
+++ branches/REL_2/shibsp/handler/impl/MetadataGenerator.cpp Mon Oct 15 11:39:58 2012
@@ -674,6 +674,8 @@
// Sign while marshalling.
vector<Signature*> sigs(1,sig);
prettyentity->marshall(prettydoc,&sigs,cred);
+ s << "<!--" << endl << "This is example metadata only. Do *NOT* supply it as is without review,"
+ << endl << "and do *NOT* provide it in real time to your partners." << endl << " -->" << endl;
s << *prettyentity;
}
else {
@@ -682,6 +684,8 @@
}
else {
// Pretty-print it directly to client.
+ s << "<!--" << endl << "This is example metadata only. Do *NOT* supply it as is without review,"
+ << endl << "and do *NOT* provide it in real time to your partners." << endl << " -->";
XMLHelper::serialize(entity->marshall(), s, true);
}
More information about the commits
mailing list