[cpp-sp-resolver] branch main updated: Add deprecation warnings.
Codeberg
noreply at shibboleth.net
Thu Aug 13 15:51:45 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch main
in repository cpp-sp-resolver.
View the commit online:
https://codeberg.org/Shibboleth/cpp-sp-resolver/commit/970396d53a616d00a36a9205651ebc5372bb0f1e
The following commit(s) were added to refs/heads/main by this push:
new 970396d Add deprecation warnings.
970396d is described below
commit 970396d53a616d00a36a9205651ebc5372bb0f1e
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Thu Aug 13 11:51:33 2026 -0400
Add deprecation warnings.
---
src/shibresolver/resolver.cpp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/shibresolver/resolver.cpp b/src/shibresolver/resolver.cpp
index 97664e7..f67efe7 100644
--- a/src/shibresolver/resolver.cpp
+++ b/src/shibresolver/resolver.cpp
@@ -605,6 +605,8 @@ bool ShibbolethResolver::init(unsigned long features, const char* config, bool r
return true;
}
+ SPConfig::getConfig().deprecate().warn("Resolver extension library is removed in next major version of Shibboleth SP");
+
if (features & SPConfig::OutOfProcess) {
#ifndef SHIBSP_LITE
features = features | SPConfig::AttributeResolution | SPConfig::Metadata | SPConfig::Trust | SPConfig::Credentials;
@@ -643,6 +645,9 @@ void ShibbolethResolver::term()
extern "C" int SHIBRESOLVER_EXPORTS xmltooling_extension_init(void*)
{
SPConfig& conf = SPConfig::getConfig();
+
+ conf.deprecate().warn("Resolver extension library is removed in next major version of Shibboleth SP");
+
if (conf.isEnabled(SPConfig::OutOfProcess) && !conf.isEnabled(SPConfig::InProcess) && conf.isEnabled(SPConfig::Listener))
conf.getServiceProvider()->regListener("org.project-moonshot.shibresolver", &g_Remoted);
return 0; // signal success
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list