From: cantor Date: Fri, 14 Dec 2007 16:12:40 +0000 (+0000) Subject: Fix namespace so 2.0 assertion issuer is pulled. X-Git-Tag: 2.4~615 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fsp.git;a=commitdiff_plain;h=da2c5b4057598273b810dbf3d9e7950377844850 Fix namespace so 2.0 assertion issuer is pulled. git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@2666 cb58f699-b61c-0410-a6fe-9272a202ed29 --- diff --git a/shibsp/handler/impl/AssertionConsumerService.cpp b/shibsp/handler/impl/AssertionConsumerService.cpp index 9e25a2c..bb0f4d6 100644 --- a/shibsp/handler/impl/AssertionConsumerService.cpp +++ b/shibsp/handler/impl/AssertionConsumerService.cpp @@ -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(&assertion); if (a2) { m_log.debug("extracting issuer from SAML 2.0 assertion");