[java-plugin-shibd] branch main updated: Add method introduced in Servlet 6.1 API.

Codeberg noreply at shibboleth.net
Thu Dec 18 15:31:41 UTC 2025


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

codeberg pushed a commit to branch main
in repository java-plugin-shibd.

View the commit online:
https://codeberg.org/Shibboleth/java-plugin-shibd/commit/de71e68274eabbcf392c9eb901606ed3896fcfbd

The following commit(s) were added to refs/heads/main by this push:
     new de71e68  Add method introduced in Servlet 6.1 API.
de71e68 is described below

commit de71e68274eabbcf392c9eb901606ed3896fcfbd
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Dec 18 10:31:30 2025 -0500

    Add method introduced in Servlet 6.1 API.
---
 .../net/shibboleth/sp/messaging/RemotedHttpServletResponse.java    | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sp-server-api/src/main/java/net/shibboleth/sp/messaging/RemotedHttpServletResponse.java b/sp-server-api/src/main/java/net/shibboleth/sp/messaging/RemotedHttpServletResponse.java
index 2a6d1c5..f8b5685 100644
--- a/sp-server-api/src/main/java/net/shibboleth/sp/messaging/RemotedHttpServletResponse.java
+++ b/sp-server-api/src/main/java/net/shibboleth/sp/messaging/RemotedHttpServletResponse.java
@@ -245,6 +245,12 @@ public class RemotedHttpServletResponse implements HttpServletResponse {
         sendRedirect(location.getBytes(StandardCharsets.UTF_8));
     }
 
+    /** {@inheritDoc} */
+    public void sendRedirect(final String location, final int sc, final boolean clearBuffer) throws IOException {
+        setStatus(sc);
+        sendRedirect(location.getBytes(StandardCharsets.UTF_8));
+    }
+    
     /**
      * Issues a redirect recongizing as Java does not that URLs are not in fact Unicode-safe.
      * 
@@ -516,4 +522,5 @@ public class RemotedHttpServletResponse implements HttpServletResponse {
         }
     }
 
+
 }
\ No newline at end of file

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


More information about the commits mailing list