[java-idp-plugin-duo] branch main updated: Add deprecation warning for the WebSDK plugin client

Codeberg noreply at shibboleth.net
Thu Sep 17 10:36:21 UTC 2026


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

codeberg pushed a commit to branch main
in repository java-idp-plugin-duo.

View the commit online:
https://codeberg.org/Shibboleth/java-idp-plugin-duo/commit/fa2811c24a6eb426557550d383241f61f486d575

The following commit(s) were added to refs/heads/main by this push:
     new fa2811c2 Add deprecation warning for the WebSDK plugin client
fa2811c2 is described below

commit fa2811c24a6eb426557550d383241f61f486d575
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Thu Sep 17 11:36:12 2026 +0100

    Add deprecation warning for the WebSDK plugin client
---
 .../shibboleth/idp/plugin/authn/duo/sdk/impl/DuoSDKClientFactory.java  | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/idp-duo-sdk-client-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/sdk/impl/DuoSDKClientFactory.java b/idp-duo-sdk-client-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/sdk/impl/DuoSDKClientFactory.java
index 0f10f813..fe7de05b 100644
--- a/idp-duo-sdk-client-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/sdk/impl/DuoSDKClientFactory.java
+++ b/idp-duo-sdk-client-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/sdk/impl/DuoSDKClientFactory.java
@@ -29,6 +29,8 @@ import net.shibboleth.shared.annotation.constraint.NonnullElements;
 import net.shibboleth.shared.annotation.constraint.NotEmpty;
 import net.shibboleth.shared.annotation.constraint.Unmodifiable;
 import net.shibboleth.shared.component.AbstractInitializableComponent;
+import net.shibboleth.shared.primitive.DeprecationSupport;
+import net.shibboleth.shared.primitive.DeprecationSupport.ObjectType;
 import net.shibboleth.shared.primitive.StringSupport;
 
 
@@ -124,6 +126,7 @@ public final class DuoSDKClientFactory extends AbstractInitializableComponent im
     @Override
     @Nonnull public DuoOIDCClient createInstance(@Nonnull final DuoOIDCIntegration integration) 
             throws DuoClientException {
+    	DeprecationSupport.warnOnce(ObjectType.CONFIGURATION, "Duo WebSDK v4 Client",null,"Shibboleth Nimbus Client");
         //every integration shares the same list of caCert pins.
         final var localProxyHost = StringSupport.trimOrNull(getProxyHost());
         final var localProxyPort = getProxyPort();

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


More information about the commits mailing list