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:
16d5976
)
Default the binding template property.
author
Scott Cantor
<cantor.2@osu.edu>
Fri, 30 Jul 2010 01:13:35 +0000
(
01:13
+0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Fri, 30 Jul 2010 01:13:35 +0000
(
01:13
+0000)
saml/saml1/binding/impl/SAML1POSTEncoder.cpp
patch
|
blob
|
history
saml/saml2/binding/impl/SAML2ArtifactEncoder.cpp
patch
|
blob
|
history
saml/saml2/binding/impl/SAML2POSTEncoder.cpp
patch
|
blob
|
history
diff --git
a/saml/saml1/binding/impl/SAML1POSTEncoder.cpp
b/saml/saml1/binding/impl/SAML1POSTEncoder.cpp
index
2803a85
..
d649db7
100644
(file)
--- a/
saml/saml1/binding/impl/SAML1POSTEncoder.cpp
+++ b/
saml/saml1/binding/impl/SAML1POSTEncoder.cpp
@@
-81,7
+81,7
@@
namespace opensaml {
static const XMLCh _template[] = UNICODE_LITERAL_8(t,e,m,p,l,a,t,e);
SAML1POSTEncoder::SAML1POSTEncoder(const DOMElement* e, const XMLCh* ns)
static const XMLCh _template[] = UNICODE_LITERAL_8(t,e,m,p,l,a,t,e);
SAML1POSTEncoder::SAML1POSTEncoder(const DOMElement* e, const XMLCh* ns)
- : m_template(XMLHelper::getAttrString(e,
nullptr
, _template, ns))
+ : m_template(XMLHelper::getAttrString(e,
"bindingTemplate.html"
, _template, ns))
{
if (m_template.empty())
throw XMLToolingException("SAML1POSTEncoder requires template XML attribute.");
{
if (m_template.empty())
throw XMLToolingException("SAML1POSTEncoder requires template XML attribute.");
diff --git
a/saml/saml2/binding/impl/SAML2ArtifactEncoder.cpp
b/saml/saml2/binding/impl/SAML2ArtifactEncoder.cpp
index
d9d91d3
..
a6b7454
100644
(file)
--- a/
saml/saml2/binding/impl/SAML2ArtifactEncoder.cpp
+++ b/
saml/saml2/binding/impl/SAML2ArtifactEncoder.cpp
@@
-85,7
+85,7
@@
namespace opensaml {
SAML2ArtifactEncoder::SAML2ArtifactEncoder(const DOMElement* e, const XMLCh* ns)
{
if (XMLHelper::getAttrBool(e, false, postArtifact, ns)) {
SAML2ArtifactEncoder::SAML2ArtifactEncoder(const DOMElement* e, const XMLCh* ns)
{
if (XMLHelper::getAttrBool(e, false, postArtifact, ns)) {
- m_template = XMLHelper::getAttrString(e,
nullptr
, _template, ns);
+ m_template = XMLHelper::getAttrString(e,
"bindingTemplate.html"
, _template, ns);
if (!m_template.empty())
XMLToolingConfig::getConfig().getPathResolver()->resolve(m_template, PathResolver::XMLTOOLING_CFG_FILE);
}
if (!m_template.empty())
XMLToolingConfig::getConfig().getPathResolver()->resolve(m_template, PathResolver::XMLTOOLING_CFG_FILE);
}
diff --git
a/saml/saml2/binding/impl/SAML2POSTEncoder.cpp
b/saml/saml2/binding/impl/SAML2POSTEncoder.cpp
index
ec32ac2
..
fde133c
100644
(file)
--- a/
saml/saml2/binding/impl/SAML2POSTEncoder.cpp
+++ b/
saml/saml2/binding/impl/SAML2POSTEncoder.cpp
@@
-88,7
+88,7
@@
namespace opensaml {
static const XMLCh _template[] = UNICODE_LITERAL_8(t,e,m,p,l,a,t,e);
SAML2POSTEncoder::SAML2POSTEncoder(const DOMElement* e, const XMLCh* ns, bool simple)
static const XMLCh _template[] = UNICODE_LITERAL_8(t,e,m,p,l,a,t,e);
SAML2POSTEncoder::SAML2POSTEncoder(const DOMElement* e, const XMLCh* ns, bool simple)
- : m_template(XMLHelper::getAttrString(e,
nullptr
, _template, ns)), m_simple(simple)
+ : m_template(XMLHelper::getAttrString(e,
"bindingTemplate.html"
, _template, ns)), m_simple(simple)
{
if (m_template.empty())
throw XMLToolingException("SAML2POSTEncoder requires template XML attribute.");
{
if (m_template.empty())
throw XMLToolingException("SAML2POSTEncoder requires template XML attribute.");