Remove some stale code
authorscantor <scantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Thu, 10 Nov 2011 03:46:04 +0000 (03:46 +0000)
committerscantor <scantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Thu, 10 Nov 2011 03:46:04 +0000 (03:46 +0000)
git-svn-id: https://svn.shibboleth.net/cpp-sp/branches/REL_2@3542 cb58f699-b61c-0410-a6fe-9272a202ed29

shibsp/attribute/resolver/impl/AssertionAttributeExtractor.cpp

index 5b938c4..7bc413b 100644 (file)
@@ -307,28 +307,6 @@ void AssertionExtractor::extractAttributes(
             }
         }
     }
-
-    /*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