[cpp-sp COMMIT] /branches/REL_2/shibsp/attribute/resolver/impl/AssertionAttributeExtractor.cpp
noreply at shibboleth.net
noreply at shibboleth.net
Thu Nov 10 03:46:04 GMT 2011
Author: scantor
Date: Thu Nov 10 03:46:04 2011
New Revision: 3542
URL: http://svn.shibboleth.net/view/cpp-sp?rev=3542&view=rev
Log:
Remove some stale code
Modified:
branches/REL_2/shibsp/attribute/resolver/impl/AssertionAttributeExtractor.cpp
Modified: branches/REL_2/shibsp/attribute/resolver/impl/AssertionAttributeExtractor.cpp
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/shibsp/attribute/resolver/impl/AssertionAttributeExtractor.cpp?rev=3542&r1=3541&r2=3542&view=diff
==============================================================================
--- branches/REL_2/shibsp/attribute/resolver/impl/AssertionAttributeExtractor.cpp (original)
+++ branches/REL_2/shibsp/attribute/resolver/impl/AssertionAttributeExtractor.cpp Thu Nov 10 03:46:04 2011
@@ -307,28 +307,6 @@
}
}
}
-
- /*auto_ptr<SimpleAttribute> attr(new SimpleAttribute(vector<string>(1,m_attributeId)));
-
- if (!(*s)->getAuthnContext() || (*s)->getAuthnContext()->getAuthenticatingAuthoritys().empty())
- continue;
-
- const vector<AuthenticatingAuthority*>& authorities =
- const_cast<const AuthnContext*>((*s)->getAuthnContext())->getAuthenticatingAuthoritys();
- for (vector<AuthenticatingAuthority*>::const_iterator a = authorities.begin(); a != authorities.end(); ++a) {
- const XMLCh* n = (*a)->getID();
- if (n && *n) {
- auto_ptr_char temp(n);
- attr->getValues().push_back(temp.get());
- }
- }
-
- if (attr->valueCount() > 0) {
- attributes.push_back(attr.release());
- return;
- }
- }
- */
}
void AssertionExtractor::getAttributeIds(vector<string>& attributes) const
More information about the commits
mailing list