[java-identity-provider] branch main updated: IDP-2118 - Add metrics for request processing

Scott Cantor cantor.2 at osu.edu
Thu May 25 18:52:10 UTC 2023


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=cafae704d95d52d8ae615c67be39937cd3c47184

The following commit(s) were added to refs/heads/main by this push:
     new cafae704d IDP-2118 - Add metrics for request processing
cafae704d is described below

commit cafae704d95d52d8ae615c67be39937cd3c47184
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu May 25 14:52:07 2023 -0400

    IDP-2118 - Add metrics for request processing
    
    https://shibboleth.atlassian.net/browse/IDP-2118
    
    Configure counter tracking RP overrides.
    Adjust relying party wiring to allow absent beans.
---
 .../resources/net/shibboleth/idp/conf/relying-party-system.xml     | 7 ++++---
 .../resources/net/shibboleth/idp/module/conf/relying-party.xml     | 2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/relying-party-system.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/relying-party-system.xml
index b6d4259c2..4863e511f 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/relying-party-system.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/relying-party-system.xml
@@ -19,9 +19,10 @@
 
     <!-- Pulls together the various components that feed the resolver. -->
     <bean class="net.shibboleth.profile.relyingparty.impl.DefaultRelyingPartyConfigurationResolver"
-        p:unverifiedConfiguration-ref="shibboleth.UnverifiedRelyingParty"
-        p:defaultConfiguration-ref="shibboleth.DefaultRelyingParty"
-        p:relyingPartyConfigurations-ref="shibboleth.RelyingPartyOverrides" />
+        p:unverifiedConfiguration="#{getObject('shibboleth.UnverifiedRelyingParty')}"
+        p:defaultConfiguration="#{getObject('shibboleth.DefaultRelyingParty')}"
+        p:relyingPartyConfigurations="#{getObject('shibboleth.RelyingPartyOverrides')}"
+        p:overrideCounterPrefix="net.shibboleth.idp.relyingparty.configurations" />
 
     <!--
     Auto-wiring exposers for credentials to get them loaded into the bean above.
diff --git a/idp-conf-impl/src/test/resources/net/shibboleth/idp/module/conf/relying-party.xml b/idp-conf-impl/src/test/resources/net/shibboleth/idp/module/conf/relying-party.xml
index e3037a93f..cc7bc4b70 100644
--- a/idp-conf-impl/src/test/resources/net/shibboleth/idp/module/conf/relying-party.xml
+++ b/idp-conf-impl/src/test/resources/net/shibboleth/idp/module/conf/relying-party.xml
@@ -53,7 +53,7 @@
     </bean>
 
     <util:list id="shibboleth.RelyingPartyOverrides">
-
+        
     </util:list>
 
 </beans>

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


More information about the commits mailing list