projects
/
shibboleth
/
cpp-opensaml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
615c4bc
)
https://issues.shibboleth.net/jira/browse/CPPOST-33
author
Scott Cantor
<cantor.2@osu.edu>
Thu, 27 Aug 2009 19:16:31 +0000
(19:16 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Thu, 27 Aug 2009 19:16:31 +0000
(19:16 +0000)
saml/saml2/profile/impl/BearerConfirmationRule.cpp
patch
|
blob
|
history
diff --git
a/saml/saml2/profile/impl/BearerConfirmationRule.cpp
b/saml/saml2/profile/impl/BearerConfirmationRule.cpp
index
0541c58
..
91a2632
100644
(file)
--- a/
saml/saml2/profile/impl/BearerConfirmationRule.cpp
+++ b/
saml/saml2/profile/impl/BearerConfirmationRule.cpp
@@
-84,7
+84,7
@@
bool BearerConfirmationRule::evaluate(const XMLObject& message, const GenericReq
logging::Category& log = logging::Category::getInstance(SAML_LOGCAT".SecurityPolicyRule.BearerConfirmation");
logging::Category& log = logging::Category::getInstance(SAML_LOGCAT".SecurityPolicyRule.BearerConfirmation");
- const char* msg=
NULL
;
+ const char* msg=
"assertion is missing bearer SubjectConfirmation"
;
const Subject* subject = a->getSubject();
if (subject) {
const vector<SubjectConfirmation*>& confs = subject->getSubjectConfirmations();
const Subject* subject = a->getSubject();
if (subject) {
const vector<SubjectConfirmation*>& confs = subject->getSubjectConfirmations();
@@
-137,7
+137,7
@@
bool BearerConfirmationRule::evaluate(const XMLObject& message, const GenericReq
}
}
}
}
- log.error(msg);
+ log.error(msg
? msg : "no error message"
);
if (m_fatal)
throw SecurityPolicyException("Unable to locate satisfiable bearer SubjectConfirmation in assertion.");
return false;
if (m_fatal)
throw SecurityPolicyException("Unable to locate satisfiable bearer SubjectConfirmation in assertion.");
return false;