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:
53995a9
)
https://issues.shibboleth.net/jira/browse/SSPCPP-603
author
Scott Cantor
<cantor.2@osu.edu>
Wed, 20 Nov 2013 21:00:14 +0000
(21:00 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Wed, 20 Nov 2013 21:00:14 +0000
(21:00 +0000)
apache/mod_shib.cpp
patch
|
blob
|
history
diff --git
a/apache/mod_shib.cpp
b/apache/mod_shib.cpp
index
fe7d038
..
9cf6ab8
100644
(file)
--- a/
apache/mod_shib.cpp
+++ b/
apache/mod_shib.cpp
@@
-873,8
+873,9
@@
extern "C" int shib_auth_checker(request_rec* r)
#else
shib_request_config* rc = (shib_request_config*)ap_get_module_config(r->request_config, &mod_shib);
if (!rc || !rc->sta) {
#else
shib_request_config* rc = (shib_request_config*)ap_get_module_config(r->request_config, &mod_shib);
if (!rc || !rc->sta) {
- ap_log_rerror(APLOG_MARK, APLOG_ERR|APLOG_NOERRNO, SH_AP_R(r), "shib_auth_checker found no per-request structure");
- return SERVER_ERROR;
+ ap_log_rerror(APLOG_MARK, APLOG_INFO|APLOG_NOERRNO, SH_AP_R(r), "shib_auth_checker found no per-request structure");
+ shib_post_read(r); // ensures objects are created if post_read hook didn't run
+ rc = (shib_request_config*)ap_get_module_config(r->request_config, &mod_shib);
}
ShibTargetApache* psta = rc->sta;
#endif
}
ShibTargetApache* psta = rc->sta;
#endif