[cpp-sp] 02/04: SSPCPP-826 - acl= in Admin LogoutInitiator takes no effect

Scott Cantor cantor.2 at osu.edu
Wed Jul 18 12:33:10 EDT 2018


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=5a7fecd722143550314d8d7d4d30551d149947c9

commit 5a7fecd722143550314d8d7d4d30551d149947c9
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Jul 18 10:19:13 2018 -0400

    SSPCPP-826 - acl= in Admin LogoutInitiator takes no effect
    
    https://issues.shibboleth.net/jira/browse/SSPCPP-826
---
 shibsp/handler/impl/AdminLogoutInitiator.cpp | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/shibsp/handler/impl/AdminLogoutInitiator.cpp b/shibsp/handler/impl/AdminLogoutInitiator.cpp
index d0a5277..2be781b 100644
--- a/shibsp/handler/impl/AdminLogoutInitiator.cpp
+++ b/shibsp/handler/impl/AdminLogoutInitiator.cpp
@@ -136,7 +136,12 @@ void AdminLogoutInitiator::init(const char* location)
 
 pair<bool,long> AdminLogoutInitiator::run(SPRequest& request, bool isHandler) const
 {
-    // No front-channel notifications, so skip calling base class.
+    // No front-channel notifications, so skip calling logout base class.
+
+    // Check ACL in base class.
+    pair<bool,long> ret = SecuredHandler::run(request, isHandler);
+    if (ret.first)
+        return ret;
 
     if (SPConfig::getConfig().isEnabled(SPConfig::OutOfProcess)) {
         // When out of process, we run natively.

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list