[java-opensaml] branch main updated: Add missing check in setter.

Brent Putman putmanb at georgetown.edu
Wed Mar 19 22:05:31 UTC 2025


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

putmanb pushed a commit to branch main
in repository java-opensaml.

View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=ce80c986d72b5227aac3b65b9886f5ae40a07446

The following commit(s) were added to refs/heads/main by this push:
     new ce80c986d Add missing check in setter.
ce80c986d is described below

commit ce80c986d72b5227aac3b65b9886f5ae40a07446
Author: Brent Putman <putmanb at georgetown.edu>
AuthorDate: Wed Mar 19 18:05:07 2025 -0400

    Add missing check in setter.
---
 .../messaging/handler/impl/HttpServletRequestValidationHandler.java      | 1 +
 1 file changed, 1 insertion(+)

diff --git a/opensaml-messaging-impl/src/main/java/org/opensaml/messaging/handler/impl/HttpServletRequestValidationHandler.java b/opensaml-messaging-impl/src/main/java/org/opensaml/messaging/handler/impl/HttpServletRequestValidationHandler.java
index 5a19d146f..f9c4dde90 100644
--- a/opensaml-messaging-impl/src/main/java/org/opensaml/messaging/handler/impl/HttpServletRequestValidationHandler.java
+++ b/opensaml-messaging-impl/src/main/java/org/opensaml/messaging/handler/impl/HttpServletRequestValidationHandler.java
@@ -54,6 +54,7 @@ public class HttpServletRequestValidationHandler extends AbstractHttpServletRequ
      * @param newValidator the request validator
      */
     public void setValidator(final @Nullable HttpServletRequestValidator newValidator) {
+        checkSetterPreconditions();
         validator = newValidator;
     }
 

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


More information about the commits mailing list