projects
/
shibboleth
/
cpp-sp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5e23919
)
https://issues.shibboleth.net/jira/browse/SSPCPP-605
author
Scott Cantor
<cantor.2@osu.edu>
Thu, 21 Nov 2013 20:17:14 +0000
(20:17 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Thu, 21 Nov 2013 20:17:14 +0000
(20:17 +0000)
shibsp/handler/impl/AbstractHandler.cpp
patch
|
blob
|
history
diff --git
a/shibsp/handler/impl/AbstractHandler.cpp
b/shibsp/handler/impl/AbstractHandler.cpp
index
2b356cd
..
37db704
100644
(file)
--- 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)) {
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
}
}
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) {
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
}
}
annotateException(&ex, role, status); // throws it
}
}