X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fopensaml2.git;a=blobdiff_plain;f=samltest%2Fsaml2%2Fbinding%2FSAML2RedirectTest.h;h=80dce5f488a59486d724c2f5274e582a18e858b5;hp=cab8d6a1e5bb38a6aecd4ab5f7c6f896ffc9a3c7;hb=a0323c50525a6ff43795da2dc786e5aeaf726d41;hpb=ff915c49a0da802d0f206ffcaa073d020572a17e diff --git a/samltest/saml2/binding/SAML2RedirectTest.h b/samltest/saml2/binding/SAML2RedirectTest.h index cab8d6a..80dce5f 100644 --- a/samltest/saml2/binding/SAML2RedirectTest.h +++ b/samltest/saml2/binding/SAML2RedirectTest.h @@ -34,7 +34,8 @@ public: void testSAML2Redirect() { try { QName idprole(samlconstants::SAML20MD_NS, IDPSSODescriptor::LOCAL_NAME); - SecurityPolicy policy(m_rules2, m_metadata, &idprole, m_trust, false); + SecurityPolicy policy(m_metadata, &idprole, m_trust, false); + policy.getRules().assign(m_rules2.begin(), m_rules2.end()); // Read message to use from file. string path = data_path + "saml2/binding/SAML2Response.xml";