Fix namespace so 2.0 assertion issuer is pulled.
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Fri, 14 Dec 2007 16:12:40 +0000 (16:12 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Fri, 14 Dec 2007 16:12:40 +0000 (16:12 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@2666 cb58f699-b61c-0410-a6fe-9272a202ed29

shibsp/handler/impl/AssertionConsumerService.cpp

index 9e25a2c..bb0f4d6 100644 (file)
@@ -377,7 +377,7 @@ void AssertionConsumerService::extractMessageDetails(const Assertion& assertion,
     policy.setMessageID(assertion.getID());
     policy.setIssueInstant(assertion.getIssueInstantEpoch());
 
-    if (XMLString::equals(assertion.getElementQName().getNamespaceURI(), samlconstants::SAML20P_NS)) {
+    if (XMLString::equals(assertion.getElementQName().getNamespaceURI(), samlconstants::SAML20_NS)) {
         const saml2::Assertion* a2 = dynamic_cast<const saml2::Assertion*>(&assertion);
         if (a2) {
             m_log.debug("extracting issuer from SAML 2.0 assertion");