void testSAML1Artifact() {\r
try {\r
QName idprole(samlconstants::SAML20MD_NS, IDPSSODescriptor::LOCAL_NAME);\r
void testSAML1Artifact() {\r
try {\r
QName idprole(samlconstants::SAML20MD_NS, IDPSSODescriptor::LOCAL_NAME);\r
- SecurityPolicy policy(m_rules1, m_metadata, &idprole, m_trust, false);\r
+ SecurityPolicy policy(m_metadata, &idprole, m_trust, false);\r
+ policy.getRules().assign(m_rules1.begin(), m_rules1.end());\r
TSM_ASSERT("Retrieved credential was null", cred!=NULL);\r
response->marshall((DOMDocument*)NULL,&sigs,cred);\r
SchemaValidators.validate(response.get());\r
TSM_ASSERT("Retrieved credential was null", cred!=NULL);\r
response->marshall((DOMDocument*)NULL,&sigs,cred);\r
SchemaValidators.validate(response.get());\r