[cpp-sp] 01/02: Forgot to apply PathResolver to secret file.

Scott Cantor cantor.2 at osu.edu
Tue Jan 28 20:39:44 UTC 2025


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=6cd9c517096d9f85df339317c46c3c405f744259

commit 6cd9c517096d9f85df339317c46c3c405f744259
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Jan 28 15:39:00 2025 -0500

    Forgot to apply PathResolver to secret file.
---
 shibsp/remoting/impl/SecretSource.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/shibsp/remoting/impl/SecretSource.cpp b/shibsp/remoting/impl/SecretSource.cpp
index 4faf2dd4..7abc41bb 100644
--- a/shibsp/remoting/impl/SecretSource.cpp
+++ b/shibsp/remoting/impl/SecretSource.cpp
@@ -23,6 +23,7 @@
 
 #include "AgentConfig.h"
 #include "remoting/SecretSource.h"
+#include "util/PathResolver.h"
 
 #include <fstream>
 #include <boost/property_tree/ptree.hpp>
@@ -82,6 +83,8 @@ FileSecretSource::FileSecretSource(const ptree& pt)
         throw ConfigurationException("Configuration is missing required secret filename setting.");
     }
 
+    AgentConfig::getConfig().getPathResolver().resolve(m_pathname, PathResolver::SHIBSP_CFG_FILE);
+
     // Test for early detection.
     getSecret(nullptr);
 }

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


More information about the commits mailing list