[java-plugin-shibd] branch main updated: Implement property for agent ID.
Scott Cantor
cantor.2 at osu.edu
Mon Aug 11 22:05:07 UTC 2025
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-plugin-shibd.
View the commit online:
http://git.shibboleth.net/view/?p=java-plugin-shibd.git;a=commit;h=06f39a42729452ad79d94cb668b770aa89e14b03
The following commit(s) were added to refs/heads/main by this push:
new 06f39a4 Implement property for agent ID.
06f39a4 is described below
commit 06f39a42729452ad79d94cb668b770aa89e14b03
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Aug 11 18:05:01 2025 -0400
Implement property for agent ID.
---
.../src/main/resources/net/shibboleth/idp/module/conf/sp/agents.xml | 2 +-
.../main/resources/net/shibboleth/idp/module/conf/sp/sp.properties | 6 ++++--
.../src/test/resources/net/shibboleth/idp/module/conf/sp/agents.xml | 2 +-
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/sp-conf-impl/src/main/resources/net/shibboleth/idp/module/conf/sp/agents.xml b/sp-conf-impl/src/main/resources/net/shibboleth/idp/module/conf/sp/agents.xml
index e2f2868..e8ccacd 100644
--- a/sp-conf-impl/src/main/resources/net/shibboleth/idp/module/conf/sp/agents.xml
+++ b/sp-conf-impl/src/main/resources/net/shibboleth/idp/module/conf/sp/agents.xml
@@ -23,7 +23,7 @@
<!-- ============ Agents and their Applications ============ -->
- <bean id="sp.example.org" parent="shibboleth.Agent">
+ <bean p:id="%{sp.agentId:sp.example.org}" parent="shibboleth.Agent">
<property name="applications">
<set>
<bean p:id="default" parent="shibboleth.Application" />
diff --git a/sp-conf-impl/src/main/resources/net/shibboleth/idp/module/conf/sp/sp.properties b/sp-conf-impl/src/main/resources/net/shibboleth/idp/module/conf/sp/sp.properties
index cf4b569..73b4226 100644
--- a/sp-conf-impl/src/main/resources/net/shibboleth/idp/module/conf/sp/sp.properties
+++ b/sp-conf-impl/src/main/resources/net/shibboleth/idp/module/conf/sp/sp.properties
@@ -10,13 +10,15 @@ sp.issuer = https://sp.example.org
#sp.service.agents.failFast = false
sp.service.agents.checkInterval = PT5M
+# For single agent hubs, set agent ID via property
+#sp.agentId = sp.example.org
+# Default agent IP address filter
+#sp.authn.allowedAddressRanges = 127.0.0.1/32, ::1/128
# Set to empty value to skip shared secret authentication
#sp.agent.authn.method = basic
# Set false to globally disable cookie-based authentication by agents
#sp.agent.authn.cached = true
#sp.agent.authn.cacheDuration = PT1H
-# Default agent IP address filter
-#sp.authn.allowedAddressRanges = 127.0.0.1/32, ::1/128
# Set to StorageService to use for remoted storage data if in use.
#sp.storageService = shibboleth.StorageService
diff --git a/sp-conf-impl/src/test/resources/net/shibboleth/idp/module/conf/sp/agents.xml b/sp-conf-impl/src/test/resources/net/shibboleth/idp/module/conf/sp/agents.xml
index 6a68252..a4ab4bc 100644
--- a/sp-conf-impl/src/test/resources/net/shibboleth/idp/module/conf/sp/agents.xml
+++ b/sp-conf-impl/src/test/resources/net/shibboleth/idp/module/conf/sp/agents.xml
@@ -23,7 +23,7 @@
<!-- ============ Agents and their Applications ============ -->
- <bean id="testsp.example.org" parent="shibboleth.Agent" p:sharedSecrets="foo">
+ <bean p:id="testsp.example.org" parent="shibboleth.Agent" p:sharedSecrets="foo">
<property name="applications">
<set>
<bean p:id="default" parent="shibboleth.Application"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list