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:
d47b5e9
)
https://issues.shibboleth.net/jira/browse/SSPCPP-465
author
Scott Cantor
<cantor.2@osu.edu>
Tue, 19 Jun 2012 03:39:41 +0000
(
03:39
+0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Tue, 19 Jun 2012 03:39:41 +0000
(
03:39
+0000)
shibsp/util/TemplateParameters.cpp
patch
|
blob
|
history
diff --git
a/shibsp/util/TemplateParameters.cpp
b/shibsp/util/TemplateParameters.cpp
index
726fb55
..
c7021d4
100644
(file)
--- a/
shibsp/util/TemplateParameters.cpp
+++ b/
shibsp/util/TemplateParameters.cpp
@@
-84,6
+84,9
@@
const char* TemplateParameters::getParameter(const char* name) const
return pch;
if (m_session) {
+ if (!strcmp(name, "entityID"))
+ return m_session->getEntityID();
+
const multimap<string,const Attribute*>& attrs = m_session->getIndexedAttributes();
pair<multimap<string,const Attribute*>::const_iterator, multimap<string,const Attribute*>::const_iterator> walker;
for (walker = attrs.equal_range(name); walker.first != walker.second; ++walker.first) {