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

Brent Putman putmanb at georgetown.edu
Wed Mar 19 22:04:15 UTC 2025


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

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

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

The following commit(s) were added to refs/heads/maint-5.1 by this push:
     new 70cf64ee0 Add missing check in setter.
70cf64ee0 is described below

commit 70cf64ee09c8b4951b32d6de03bfce4cb350675b
Author: Brent Putman <putmanb at georgetown.edu>
AuthorDate: Wed Mar 19 18:03:57 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 db68effc6..3c1cf1c16 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
@@ -91,6 +91,7 @@ public class HttpServletRequestValidationHandler extends AbstractMessageHandler
      * @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