[java-identity-provider] branch main updated: IDP-2288 - Injection of beans into BeanPostProcessor causes warnings

Scott Cantor cantor.2 at osu.edu
Wed Oct 23 20:07:19 UTC 2024


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

scantor pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=ad7cb3a742f9b228ca1d7bde3a9fc109434decdf

The following commit(s) were added to refs/heads/main by this push:
     new ad7cb3a74 IDP-2288 - Injection of beans into BeanPostProcessor causes warnings
ad7cb3a74 is described below

commit ad7cb3a742f9b228ca1d7bde3a9fc109434decdf
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Oct 23 16:07:16 2024 -0400

    IDP-2288 - Injection of beans into BeanPostProcessor causes warnings
    
    https://shibboleth.atlassian.net/browse/IDP-2288
---
 .../net/shibboleth/idp/conf/metadata-providers-system.xml          | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/metadata-providers-system.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/metadata-providers-system.xml
index d6d2dd0a4..b11463b45 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/metadata-providers-system.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/metadata-providers-system.xml
@@ -14,12 +14,13 @@
 
     <context:annotation-config />
 
-    <!-- BeanPostProcessors that auto-install MetadataFilters for internal use. -->
-    
+    <!-- Stand alone post-processor to auto-attach the ByReference filter bridge. -->
     <bean class="net.shibboleth.spring.metadata.ByReferenceFilterBeanPostProcessor"
         p:enabled="%{idp.service.metadata.enableByReferenceFilters:true}" />
     
-    <bean class="net.shibboleth.spring.metadata.NodeProcessingAttachingBeanPostProcessor"
+    <!-- Reserved bean ID that is auto-attached to all metadata resolvers by Spring parser. -->
+    <bean id="shibboleth.AutoWiredNodeProcessingMetadataFilter"
+        class="net.shibboleth.spring.metadata.filter.AutoWiredNodeProcessingMetadataFilter"
         p:nodeProcessors="#{getObject('shibboleth.MetadataNodeProcessors')}" />
 
     <!-- Default NodeProcessors to auto-wire. -->

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


More information about the commits mailing list