[java-idp-plugin-webauthn] branch main updated: Add deprecation warning to old trust root file setting

Codeberg noreply at shibboleth.net
Mon Oct 12 15:33:05 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-webauthn.

View the commit online:
https://codeberg.org/Shibboleth/java-idp-plugin-webauthn/commit/3ae32dfa00fc84f44803a937304ed9817d292a72

The following commit(s) were added to refs/heads/main by this push:
     new 3ae32df  Add deprecation warning to old trust root file setting
3ae32df is described below

commit 3ae32dfa00fc84f44803a937304ed9817d292a72
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Mon Oct 12 16:32:57 2026 +0100

    Add deprecation warning to old trust root file setting
---
 .../authn/webauthn/metadata/impl/FidoMetadataServiceFactory.java    | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/metadata/impl/FidoMetadataServiceFactory.java b/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/metadata/impl/FidoMetadataServiceFactory.java
index 6622093..7faf368 100644
--- a/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/metadata/impl/FidoMetadataServiceFactory.java
+++ b/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/metadata/impl/FidoMetadataServiceFactory.java
@@ -259,7 +259,10 @@ public class FidoMetadataServiceFactory extends AbstractIdentifiableInitializabl
      * Set the trust root file.
      * 
      * @param file the trust root file
+     * 
+     * @deprecated use {@link #setTrustRootFiles(List)}
      */
+    @Deprecated(since = "1.4.3", forRemoval = true)
     public synchronized void setTrustRootFile(@Nullable final Resource file) {
         checkSetterPreconditions();
         // The file can now be null
@@ -272,7 +275,10 @@ public class FidoMetadataServiceFactory extends AbstractIdentifiableInitializabl
      * Get the trust root file.
      * 
      * @return the trust root file
+     * 
+     * @deprecated use {@link #getTrustRootFiles()}
      */
+    @Deprecated(since = "1.4.3", forRemoval = true)
     @NonnullAfterInit private synchronized Resource getTrustRootFile() {
         checkComponentActive();
         return trustRootFiles.get(0);

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


More information about the commits mailing list