https://issues.shibboleth.net/jira/browse/SSPCPP-282
authorScott Cantor <cantor.2@osu.edu>
Tue, 2 Mar 2010 17:46:45 +0000 (17:46 +0000)
committerScott Cantor <cantor.2@osu.edu>
Tue, 2 Mar 2010 17:46:45 +0000 (17:46 +0000)
shibsp/handler/impl/SAML2NameIDMgmt.cpp

index e285ebb..12c0ed6 100644 (file)
@@ -268,7 +268,7 @@ pair<bool,long> SAML2NameIDMgmt::doRequest(
     Locker metadataLocker(application.getMetadataProvider());
 
     // Create the policy.
-    shibsp::SecurityPolicy policy(application, &m_role, validate.first && validate.second);
+    shibsp::SecurityPolicy policy(application, &m_role, validate.first && validate.second, policyId.second);
 
     // Decode the message.
     string relayState;