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:
4a86cca
)
The requireAll check was backwards.
author
Scott Cantor
<cantor.2@osu.edu>
Tue, 29 Mar 2005 04:37:22 +0000
(
04:37
+0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Tue, 29 Mar 2005 04:37:22 +0000
(
04:37
+0000)
shib-target/shib-target.cpp
patch
|
blob
|
history
diff --git
a/shib-target/shib-target.cpp
b/shib-target/shib-target.cpp
index
fbc2120
..
9f763bb
100644
(file)
--- a/
shib-target/shib-target.cpp
+++ b/
shib-target/shib-target.cpp
@@
-462,12
+462,13
@@
ShibTarget::doCheckAuthZ(void)
bool method_restricted=false;
string remote_user = getRemoteUser();
- #define CHECK_OK do { \
- if (ht->requireAll) { \
- return pair<bool,void*>(false, NULL); \
- } \
- auth_OK[x] = true; \
- continue; \
+#define CHECK_OK \
+ do { \
+ if (!ht->requireAll) { \
+ return pair<bool,void*>(false, NULL); \
+ } \
+ auth_OK[x] = true; \
+ continue; \
} while (0)
for (int x = 0; x < ht->elements.size(); x++) {