[java-identity-provider] branch main updated: JSATTR-14 - Registry loader constructor breaks on jar-based classpaths
Codeberg
noreply at shibboleth.net
Thu Jul 16 14:30:51 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch main
in repository java-identity-provider.
View the commit online:
https://codeberg.org/Shibboleth/java-identity-provider/commit/f8ab2384baf1989f377b6dba93440f25fc91f3a0
The following commit(s) were added to refs/heads/main by this push:
new f8ab2384b JSATTR-14 - Registry loader constructor breaks on jar-based classpaths
f8ab2384b is described below
commit f8ab2384baf1989f377b6dba93440f25fc91f3a0
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Thu Jul 16 10:30:40 2026 -0400
JSATTR-14 - Registry loader constructor breaks on jar-based classpaths
https://shibboleth.atlassian.net/browse/JSATTR-14
Add fail fast flag as third constructor argument to parent bean.
Switch test resource for registry config to use Resource c'tor.
---
.../net/shibboleth/idp/conf/attribute-registry-system.xml | 3 ++-
.../net/shibboleth/idp/module/conf/attribute-registry.xml | 9 +++++----
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/attribute-registry-system.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/attribute-registry-system.xml
index c0e094d40..50c147f1a 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/attribute-registry-system.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/attribute-registry-system.xml
@@ -84,7 +84,8 @@
class="net.shibboleth.idp.attribute.transcoding.TranscodingRule" abstract="true" />
<bean id="shibboleth.TranscodingRuleLoader"
- class="net.shibboleth.idp.attribute.transcoding.impl.TranscodingRuleLoader" abstract="true" />
+ class="net.shibboleth.idp.attribute.transcoding.impl.TranscodingRuleLoader" abstract="true"
+ c:failFast="%{idp.service.attribute.registry.failFast:false}" />
<bean id="shibboleth.TranscodingProperties" lazy-init="true"
class="org.springframework.beans.factory.config.PropertiesFactoryBean">
diff --git a/idp-conf-impl/src/test/resources/net/shibboleth/idp/module/conf/attribute-registry.xml b/idp-conf-impl/src/test/resources/net/shibboleth/idp/module/conf/attribute-registry.xml
index 4d9081bb8..9d8108dee 100644
--- a/idp-conf-impl/src/test/resources/net/shibboleth/idp/module/conf/attribute-registry.xml
+++ b/idp-conf-impl/src/test/resources/net/shibboleth/idp/module/conf/attribute-registry.xml
@@ -22,12 +22,13 @@
-->
<!--
- Default directory for custom mappings, commented due to classpath usage in tests.
+ Default directory for custom mappings.
+
+ This uses the "resource" variant constructor so errors are trapped when
+ running some tests.
-->
- <!--
<bean parent="shibboleth.TranscodingRuleLoader"
- c:dir="%{idp.home}/conf/attributes/custom"
+ c:resource="%{idp.home}/conf/attributes/custom"
c:extensions="#{{'.txt', '.props', '.properties', '.rule'}}" />
- -->
</beans>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list