[java-identity-provider] branch main updated: IDP-2439 - CryptoTransient c14n bean forcing DataSealer to init

Codeberg noreply at shibboleth.net
Wed Feb 25 16:43:17 UTC 2026


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

codeberg pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
https://codeberg.org/Shibboleth/java-identity-provider/commit/815a126672f5920d4319588a3c5dc917c6f0ebbb

The following commit(s) were added to refs/heads/main by this push:
     new 815a12667 IDP-2439 - CryptoTransient c14n bean forcing DataSealer to init
815a12667 is described below

commit 815a126672f5920d4319588a3c5dc917c6f0ebbb
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Feb 25 11:42:36 2026 -0500

    IDP-2439 - CryptoTransient c14n bean forcing DataSealer to init
    
    https://shibboleth.atlassian.net/browse/IDP-2439
    
    Setter was broken, not allowing null.
---
 .../shibboleth/idp/saml/nameid/impl/BaseCryptoTransientDecoder.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/nameid/impl/BaseCryptoTransientDecoder.java b/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/nameid/impl/BaseCryptoTransientDecoder.java
index 320346dd4..313d9cea9 100644
--- a/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/nameid/impl/BaseCryptoTransientDecoder.java
+++ b/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/nameid/impl/BaseCryptoTransientDecoder.java
@@ -24,7 +24,6 @@ import com.google.common.base.Strings;
 import net.shibboleth.shared.annotation.constraint.NotEmpty;
 import net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent;
 import net.shibboleth.shared.component.ComponentInitializationException;
-import net.shibboleth.shared.logic.Constraint;
 import net.shibboleth.shared.primitive.LoggerFactory;
 import net.shibboleth.shared.security.DataExpiredException;
 import net.shibboleth.shared.security.DataSealer;
@@ -61,7 +60,7 @@ public abstract class BaseCryptoTransientDecoder extends AbstractIdentifiableIni
      */
     public void setDataSealer(@Nullable final DataSealer sealer) {
         checkSetterPreconditions();
-        dataSealer = Constraint.isNotNull(sealer, "DataSealer cannot be null");
+        dataSealer = sealer;
     }
 
     /** {@inheritDoc} */

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


More information about the commits mailing list