X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=test%2Fshibtest.cpp;h=9e15f0fa534151a8ecdd7db03ef601e965c72516;hb=6889d7b68b7d39daec113a2cea83e3a6fdb37f74;hp=7c2cfa513503bc18ef18db13b19676afbff398e3;hpb=48fed207cb08098d1fb8b5f91434b285be46080b;p=shibboleth%2Fcpp-sp.git diff --git a/test/shibtest.cpp b/test/shibtest.cpp index 7c2cfa5..9e15f0f 100644 --- a/test/shibtest.cpp +++ b/test/shibtest.cpp @@ -140,18 +140,6 @@ int main(int argc,char* argv[]) if (!response) throw opensaml::BindingException("unable to successfully query for attributes"); - // Run it through the AAP. Note that we could end up with an empty response! - Iterator a=response->getAssertions(); - for (unsigned long c=0; c < a.size();) { - try { - shibboleth::AAP::apply(app->getAAPProviders(),*(a[c]),AA); - c++; - } - catch (SAMLException&) { - response->removeAssertion(c); - } - } - Iterator i=response->getAssertions(); if (i.hasNext()) {