[java-plugin-shibd] branch main updated: JSHIBDOIDC-3 - OIDC message decoding

Scott Cantor cantor.2 at osu.edu
Fri Oct 17 19:25:33 UTC 2025


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

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

View the commit online:
http://git.shibboleth.net/view/?p=java-plugin-shibd.git;a=commit;h=6cd987e149d2e963b67a51c833ffc8885993bbbe

The following commit(s) were added to refs/heads/main by this push:
     new 6cd987e  JSHIBDOIDC-3 - OIDC message decoding
6cd987e is described below

commit 6cd987e149d2e963b67a51c833ffc8885993bbbe
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Oct 17 15:25:09 2025 -0400

    JSHIBDOIDC-3 - OIDC message decoding
    
    https://shibboleth.atlassian.net/browse/JSHIBDOIDC-3
    
    Implement remoted getLocalAddr method for Nimbus.
---
 .../java/net/shibboleth/sp/messaging/RemotedHttpServletRequest.java | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sp-server-api/src/main/java/net/shibboleth/sp/messaging/RemotedHttpServletRequest.java b/sp-server-api/src/main/java/net/shibboleth/sp/messaging/RemotedHttpServletRequest.java
index 4d8dbd2..a0dba53 100644
--- a/sp-server-api/src/main/java/net/shibboleth/sp/messaging/RemotedHttpServletRequest.java
+++ b/sp-server-api/src/main/java/net/shibboleth/sp/messaging/RemotedHttpServletRequest.java
@@ -95,6 +95,9 @@ public class RemotedHttpServletRequest implements HttpServletRequest {
     /** Field holding client address. */
     @Nonnull @NotEmpty public static final String REMOTE_ADDR = "remote_addr";
 
+    /** Field holding client address. */
+    @Nonnull @NotEmpty public static final String LOCAL_ADDR = "local_addr";
+    
     /** Field holding query string. */
     @Nonnull @NotEmpty public static final String QUERY_STRING = "query";
 
@@ -356,8 +359,7 @@ public class RemotedHttpServletRequest implements HttpServletRequest {
 
     /** {@inheritDoc} */
     public String getLocalAddr() {
-        // TODO: If we need this, should be configurable via the c'tor.
-        throw new UnsupportedOperationException("getLocalAddr");
+        return obj.getmember(LOCAL_ADDR).string();
     }
 
     /** {@inheritDoc} */

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


More information about the commits mailing list