X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=shibsp%2Fattribute%2Fresolver%2Fimpl%2FQueryAttributeResolver.cpp;h=05f63aa6816dab04425e85f995963d0b2dfe3ff2;hb=c51bfd77603cf0ddb0b5e374c35586a8435895d6;hp=60536ebca0aae12fd16115a1dafa78839eb62a9c;hpb=93901a293c5c33e03a2b32299345a59915e3b3b8;p=shibboleth%2Fcpp-sp.git diff --git a/shibsp/attribute/resolver/impl/QueryAttributeResolver.cpp b/shibsp/attribute/resolver/impl/QueryAttributeResolver.cpp index 60536eb..05f63aa 100644 --- a/shibsp/attribute/resolver/impl/QueryAttributeResolver.cpp +++ b/shibsp/attribute/resolver/impl/QueryAttributeResolver.cpp @@ -249,7 +249,7 @@ namespace shibsp { }; QueryResolver::QueryResolver(const DOMElement* e) - : m_log(Category::getInstance(SHIBSP_LOGCAT".AttributeResolver.Query")), + : m_log(Category::getInstance(SHIBSP_LOGCAT ".AttributeResolver.Query")), m_policyId(XMLHelper::getAttrString(e, nullptr, policyId)), m_subjectMatch(XMLHelper::getAttrBool(e, false, subjectMatch)) { @@ -561,7 +561,7 @@ void QueryResolver::SAML2Query(QueryContext& ctx) const // With this flag on, we block unauthenticated ciphertext when decrypting, // unless the protocol was authenticated. - pair authenticatedCipher = application.getBool("requireAuthenticatedCipher"); + pair authenticatedCipher = application.getBool("requireAuthenticatedEncryption"); if (policy->isAuthenticated()) authenticatedCipher.second = false; @@ -578,11 +578,11 @@ void QueryResolver::SAML2Query(QueryContext& ctx) const tokenwrapper.release(); newtokenwrapper.reset(newtoken); if (m_log.isDebugEnabled()) - m_log.debugStream() << "decrypted Assertion: " << *newtoken << logging::eol; + m_log.debugStream() << "decrypted assertion: " << *newtoken << logging::eol; } } catch (exception& ex) { - m_log.error(ex.what()); + m_log.error("failed to decrypt assertion: %s", ex.what()); throw; } }