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:
79a38ac
)
https://issues.shibboleth.net/jira/browse/SSPCPP-348
author
Scott Cantor
<cantor.2@osu.edu>
Sat, 5 Feb 2011 19:23:57 +0000
(19:23 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Sat, 5 Feb 2011 19:23:57 +0000
(19:23 +0000)
shibsp/impl/XMLServiceProvider.cpp
patch
|
blob
|
history
diff --git
a/shibsp/impl/XMLServiceProvider.cpp
b/shibsp/impl/XMLServiceProvider.cpp
index
1dfc15d
..
351ccab
100644
(file)
--- a/
shibsp/impl/XMLServiceProvider.cpp
+++ b/
shibsp/impl/XMLServiceProvider.cpp
@@
-1,5
+1,5
@@
/*
/*
- * Copyright 2001-201
0
Internet2
+ * Copyright 2001-201
1
Internet2
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-1018,8
+1018,7
@@
void XMLApplication::doSSO(const ProtocolProvider& pp, set<string>& protocols, D
SPConfig& conf = SPConfig::getConfig();
// Tokenize the protocol list inside the element.
SPConfig& conf = SPConfig::getConfig();
// Tokenize the protocol list inside the element.
- const XMLCh* protlist = e->getFirstChild()->getNodeValue();
- XMLStringTokenizer prottokens(protlist);
+ XMLStringTokenizer prottokens(e->getTextContent());
while (prottokens.hasMoreTokens()) {
auto_ptr_char prot(prottokens.nextToken());
while (prottokens.hasMoreTokens()) {
auto_ptr_char prot(prottokens.nextToken());
@@
-1138,8
+1137,7
@@
void XMLApplication::doLogout(const ProtocolProvider& pp, set<string>& protocols
SPConfig& conf = SPConfig::getConfig();
// Tokenize the protocol list inside the element.
SPConfig& conf = SPConfig::getConfig();
// Tokenize the protocol list inside the element.
- const XMLCh* protlist = e->getFirstChild()->getNodeValue();
- XMLStringTokenizer prottokens(protlist);
+ XMLStringTokenizer prottokens(e->getTextContent());
while (prottokens.hasMoreTokens()) {
auto_ptr_char prot(prottokens.nextToken());
while (prottokens.hasMoreTokens()) {
auto_ptr_char prot(prottokens.nextToken());
@@
-1227,8
+1225,7
@@
void XMLApplication::doNameIDMgmt(const ProtocolProvider& pp, set<string>& proto
SPConfig& conf = SPConfig::getConfig();
// Tokenize the protocol list inside the element.
SPConfig& conf = SPConfig::getConfig();
// Tokenize the protocol list inside the element.
- const XMLCh* protlist = e->getFirstChild()->getNodeValue();
- XMLStringTokenizer prottokens(protlist);
+ XMLStringTokenizer prottokens(e->getTextContent());
while (prottokens.hasMoreTokens()) {
auto_ptr_char prot(prottokens.nextToken());
while (prottokens.hasMoreTokens()) {
auto_ptr_char prot(prottokens.nextToken());