X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-sp.git;a=blobdiff_plain;f=shibsp%2Fhandler%2Fimpl%2FAbstractHandler.cpp;h=37db70490a4dd3707e4287d2d8bd41db8dfbb157;hp=2b356cd21b2d0596815ce03d31d6f4b81c7188bc;hb=9abb4b739f0e1f89bd569ed0ee3c261ecdf0f6fa;hpb=5e2391930ca23e896d6cf0a78e3c66dd732f27c4 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 } }