From 9abb4b739f0e1f89bd569ed0ee3c261ecdf0f6fa Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Thu, 21 Nov 2013 20:17:14 +0000 Subject: [PATCH] https://issues.shibboleth.net/jira/browse/SSPCPP-605 --- shibsp/handler/impl/AbstractHandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } } -- 2.1.4