From: Scott Cantor Date: Thu, 21 Nov 2013 20:17:14 +0000 (+0000) Subject: https://issues.shibboleth.net/jira/browse/SSPCPP-605 X-Git-Tag: 2.5.3~1 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-sp.git;a=commitdiff_plain;h=9abb4b739f0e1f89bd569ed0ee3c261ecdf0f6fa https://issues.shibboleth.net/jira/browse/SSPCPP-605 --- diff --git a/shibsp/handler/impl/AbstractHandler.cpp b/shibsp/handler/impl/AbstractHandler.cpp index 2b356cd..37db704 100644 --- a/shibsp/handler/impl/AbstractHandler.cpp +++ b/shibsp/handler/impl/AbstractHandler.cpp @@ -449,7 +449,7 @@ void AbstractHandler::checkError(const XMLObject* response, const saml2md::RoleD const saml2p::StatusCode* sc = status->getStatusCode(); const XMLCh* code = sc ? sc->getValue() : nullptr; if (code && !XMLString::equals(code,saml2p::StatusCode::SUCCESS)) { - FatalProfileException ex("SAML response contained an error."); + FatalProfileException ex("SAML response reported an IdP error."); annotateException(&ex, role, status); // throws it } } @@ -462,7 +462,7 @@ void AbstractHandler::checkError(const XMLObject* response, const saml2md::RoleD const saml1p::StatusCode* sc = status->getStatusCode(); const xmltooling::QName* code = sc ? sc->getValue() : nullptr; if (code && *code != saml1p::StatusCode::SUCCESS) { - FatalProfileException ex("SAML response contained an error."); + FatalProfileException ex("SAML response reported an IdP error."); annotateException(&ex, role, status); // throws it } }