projects
/
shibboleth
/
cpp-opensaml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update ctors to use new attribute shortcuts.
[shibboleth/cpp-opensaml.git]
/
saml
/
binding
/
impl
/
SimpleSigningRule.cpp
diff --git
a/saml/binding/impl/SimpleSigningRule.cpp
b/saml/binding/impl/SimpleSigningRule.cpp
index
c4f7f14
..
4ba76e2
100644
(file)
--- a/
saml/binding/impl/SimpleSigningRule.cpp
+++ b/
saml/binding/impl/SimpleSigningRule.cpp
@@
-89,12
+89,8
@@
bool SimpleSigningRule::appendParameter(string& s, const char* data, const char*
return true;
}
return true;
}
-SimpleSigningRule::SimpleSigningRule(const DOMElement* e) : m_errorFatal(
false
)
+SimpleSigningRule::SimpleSigningRule(const DOMElement* e) : m_errorFatal(
XMLHelper::getAttrBool(e, false, errorFatal)
)
{
{
- if (e) {
- const XMLCh* flag = e->getAttributeNS(nullptr, errorFatal);
- m_errorFatal = (flag && (*flag==chLatin_t || *flag==chDigit_1));
- }
}
bool SimpleSigningRule::evaluate(const XMLObject& message, const GenericRequest* request, SecurityPolicy& policy) const
}
bool SimpleSigningRule::evaluate(const XMLObject& message, const GenericRequest* request, SecurityPolicy& policy) const