[cpp-sp COMMIT] in /branches/REL_2/shibsp/attribute: ExtensibleAttribute.cpp resolver/impl/MetadataAttributeExtractor...
noreply at shibboleth.net
noreply at shibboleth.net
Fri Jan 27 02:43:46 GMT 2012
Author: scantor
Date: Fri Jan 27 02:43:46 2012
New Revision: 3561
URL: http://svn.shibboleth.net/view/cpp-sp?rev=3561&view=rev
Log:
https://issues.shibboleth.net/jira/browse/SSPCPP-419
Added:
branches/REL_2/shibsp/attribute/resolver/impl/MetadataAttributeExtractor.cpp
Modified:
branches/REL_2/shibsp/attribute/ExtensibleAttribute.cpp
Modified: branches/REL_2/shibsp/attribute/ExtensibleAttribute.cpp
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/shibsp/attribute/ExtensibleAttribute.cpp?rev=3561&r1=3560&r2=3561&view=diff
==============================================================================
--- branches/REL_2/shibsp/attribute/ExtensibleAttribute.cpp (original)
+++ branches/REL_2/shibsp/attribute/ExtensibleAttribute.cpp Fri Jan 27 02:43:46 2012
@@ -139,9 +139,14 @@
DDF ExtensibleAttribute::marshall() const
{
- if (!isCaseSensitive())
- m_obj.addmember("case_insensitive");
- if (isInternal())
- m_obj.addmember("internal");
- return m_obj.copy();
+ DDF ddf = Attribute::marshall();
+ ddf.name("Extensible");
+ ddf.addmember("_formatter").string(m_obj["_formatter"].string());
+ DDF val = m_obj.first().first();
+ while (!val.isnull()) {
+ DDF dup = val.copy();
+ ddf.first().add(dup);
+ val = m_obj.first().next();
+ }
+ return ddf;
}
More information about the commits
mailing list