[java-idp-plugin-oidc-rp] branch main updated: Fix metric name

Phil Smart philip.smart at jisc.ac.uk
Tue May 2 14:16:53 UTC 2023


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

philsmart pushed a commit to branch main
in repository java-idp-plugin-oidc-rp.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-oidc-rp.git;a=commit;h=448889daa97ced859d6fe6702b942605e202ae9f

The following commit(s) were added to refs/heads/main by this push:
     new 448889d  Fix metric name
448889d is described below

commit 448889daa97ced859d6fe6702b942605e202ae9f
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Tue May 2 15:16:50 2023 +0100

    Fix metric name
---
 .../idp/plugin/authn/oidc/rp/impl/ValidateOIDCAuthentication.java       | 2 +-
 .../idp/flows/authn/OIDCRelyingParty/oidc-relying-party-authn-flow.xml  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/idp-oidc-rp-impl/src/main/java/net/shibboleth/idp/plugin/authn/oidc/rp/impl/ValidateOIDCAuthentication.java b/idp-oidc-rp-impl/src/main/java/net/shibboleth/idp/plugin/authn/oidc/rp/impl/ValidateOIDCAuthentication.java
index 63ddcbb..b42b2cd 100644
--- a/idp-oidc-rp-impl/src/main/java/net/shibboleth/idp/plugin/authn/oidc/rp/impl/ValidateOIDCAuthentication.java
+++ b/idp-oidc-rp-impl/src/main/java/net/shibboleth/idp/plugin/authn/oidc/rp/impl/ValidateOIDCAuthentication.java
@@ -102,7 +102,7 @@ import net.shibboleth.utilities.java.support.service.ServiceableComponent;
 public class ValidateOIDCAuthentication extends AbstractValidationAction {
     
     /** Default prefix for metrics. */
-    @Nonnull @NotEmpty private static final String DEFAULT_METRIC_NAME = "net.shibboleth.idp.oidc.rp";
+    @Nonnull @NotEmpty private static final String DEFAULT_METRIC_NAME = "net.shibboleth.idp.authn.oidc.rp";
 
     /** Class logger. */
     @Nonnull private final Logger log = LoggerFactory.getLogger(ValidateOIDCAuthentication.class);
diff --git a/idp-oidc-rp-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/authn/OIDCRelyingParty/oidc-relying-party-authn-flow.xml b/idp-oidc-rp-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/authn/OIDCRelyingParty/oidc-relying-party-authn-flow.xml
index 226b721..5b3c8be 100644
--- a/idp-oidc-rp-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/authn/OIDCRelyingParty/oidc-relying-party-authn-flow.xml
+++ b/idp-oidc-rp-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/authn/OIDCRelyingParty/oidc-relying-party-authn-flow.xml
@@ -207,7 +207,7 @@
         <!-- Route everything out as a graceful failure to allow subsequent options to run. -->
         <transition on="#{!'proceed'.equals(currentEvent.id)}" to="ReselectFlow">           
            <evaluate expression="WriteAuditLogInTransition"/>
-           <evaluate expression="T(org.opensaml.core.metrics.MetricsSupport).getMetricRegistry().counter('net.shibboleth.idp.oidc.rp.failures').inc()" />
+           <evaluate expression="T(org.opensaml.core.metrics.MetricsSupport).getMetricRegistry().counter('net.shibboleth.idp.authn.oidc.rp.failures').inc()" />
         </transition>
     </global-transitions>
     

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


More information about the commits mailing list