[java-identity-provider] branch main updated: JSPROF-10 - Enable loop detection via Condition

Scott Cantor cantor.2 at osu.edu
Mon Feb 17 16:12:30 UTC 2025


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

The following commit(s) were added to refs/heads/main by this push:
     new cfa347baa JSPROF-10 - Enable loop detection via Condition
cfa347baa is described below

commit cfa347baa58158421852d856f8fdbc7c0b3145e2
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Feb 17 11:12:27 2025 -0500

    JSPROF-10 - Enable loop detection via Condition
    
    https://shibboleth.atlassian.net/browse/JSPROF-10
    
    Add exception to deprecation wrapper c'tor.
---
 .../shibboleth/idp/profile/logic/LoopDetectionPredicate.java   | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/idp-profile-api/src/main/java/net/shibboleth/idp/profile/logic/LoopDetectionPredicate.java b/idp-profile-api/src/main/java/net/shibboleth/idp/profile/logic/LoopDetectionPredicate.java
index e7445c00a..7cc14e57d 100644
--- a/idp-profile-api/src/main/java/net/shibboleth/idp/profile/logic/LoopDetectionPredicate.java
+++ b/idp-profile-api/src/main/java/net/shibboleth/idp/profile/logic/LoopDetectionPredicate.java
@@ -14,6 +14,8 @@
 
 package net.shibboleth.idp.profile.logic;
 
+import java.security.NoSuchAlgorithmException;
+
 import net.shibboleth.shared.primitive.DeprecationSupport;
 import net.shibboleth.shared.primitive.DeprecationSupport.ObjectType;
 
@@ -25,9 +27,13 @@ import net.shibboleth.shared.primitive.DeprecationSupport.ObjectType;
 @Deprecated(since="5.0.0", forRemoval=true)
 public class LoopDetectionPredicate extends net.shibboleth.profile.context.logic.LoopDetectionPredicate {
     
-    /** Constructor. */
+    /**
+     * Constructor.
+     * 
+     * @throws NoSuchAlgorithmException if superclass throws
+     */
     @SuppressWarnings("null")
-    public LoopDetectionPredicate() {
+    public LoopDetectionPredicate() throws NoSuchAlgorithmException {
         DeprecationSupport.warn(ObjectType.CLASS, getClass().getName(), null,
                 "Parent bean 'shibboleth.Conditions.LoopDetection'");
     }

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


More information about the commits mailing list