[java-opensaml] branch maint-5.1 updated: Fix null issue.

Scott Cantor cantor.2 at osu.edu
Fri Mar 21 12:57:04 UTC 2025


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

scantor 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=75e1e1f489ceee00ee75e6b39f5991e8fc88e632

The following commit(s) were added to refs/heads/maint-5.1 by this push:
     new 75e1e1f48 Fix null issue.
75e1e1f48 is described below

commit 75e1e1f489ceee00ee75e6b39f5991e8fc88e632
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Mar 21 08:56:20 2025 -0400

    Fix null issue.
---
 .../org/opensaml/profile/action/impl/ValidateHttpServletRequest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opensaml-profile-impl/src/main/java/org/opensaml/profile/action/impl/ValidateHttpServletRequest.java b/opensaml-profile-impl/src/main/java/org/opensaml/profile/action/impl/ValidateHttpServletRequest.java
index edf7a74b9..8d58f3669 100644
--- a/opensaml-profile-impl/src/main/java/org/opensaml/profile/action/impl/ValidateHttpServletRequest.java
+++ b/opensaml-profile-impl/src/main/java/org/opensaml/profile/action/impl/ValidateHttpServletRequest.java
@@ -78,7 +78,7 @@ public class ValidateHttpServletRequest extends AbstractConditionalProfileAction
     @Override
     protected void doExecute(@Nonnull final ProfileRequestContext profileContext) {
        try {
-            getValidator().validate(getHttpServletRequest());
+            getValidator().validate(ensureHttpServletRequest());
             ActionSupport.buildProceedEvent(profileContext);
         } catch (final ServletException e) {
             log.warn("HttpServletRequest failed validation", e);

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


More information about the commits mailing list