[cpp-sp] branch main updated: SSPCPP-935 - Add deprecations to all at risk features

Scott Cantor cantor.2 at osu.edu
Mon Nov 1 17:59:51 UTC 2021


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

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

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

The following commit(s) were added to refs/heads/main by this push:
     new 4d8de2e9 SSPCPP-935 - Add deprecations to all at risk features
4d8de2e9 is described below

commit 4d8de2e974d3b46d14413491402d74238975ecf6
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Nov 1 13:58:08 2021 -0400

    SSPCPP-935 - Add deprecations to all at risk features
    
    https://shibboleth.atlassian.net/browse/SSPCPP-935
---
 shibsp/ServiceProvider.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/shibsp/ServiceProvider.cpp b/shibsp/ServiceProvider.cpp
index 7f1d9f4d..32bea980 100644
--- a/shibsp/ServiceProvider.cpp
+++ b/shibsp/ServiceProvider.cpp
@@ -415,6 +415,7 @@ pair<bool,long> ServiceProvider::doAuthentication(SPRequest& request, bool handl
             // No session, but we require one. Initiate a new session using the indicated method.
             const SessionInitiator* initiator=nullptr;
             if (requireSessionWith.first) {
+                SPConfig::getConfig().deprecation().warn("requireSessionWith");
                 initiator=app->getSessionInitiatorById(requireSessionWith.second);
                 if (!initiator) {
                     throw ConfigurationException(

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


More information about the commits mailing list