[java-identity-provider] branch main updated: IDP-1428 - CAS proxyValidator follows redirects by default

Codeberg noreply at shibboleth.net
Thu Nov 19 16:18:12 UTC 2026


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

codeberg pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
https://codeberg.org/Shibboleth/java-identity-provider/commit/81c963dec52c7649eb874e8b0d8fda0f7dbb4691

The following commit(s) were added to refs/heads/main by this push:
     new 81c963dec IDP-1428 - CAS proxyValidator follows redirects by default
81c963dec is described below

commit 81c963dec52c7649eb874e8b0d8fda0f7dbb4691
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Thu Nov 19 11:17:41 2026 -0500

    IDP-1428 - CAS proxyValidator follows redirects by default
    
    https://shibboleth.atlassian.net/browse/IDP-1428
    
    Turned off redirects on the default client and added property.
---
 .../src/main/resources/net/shibboleth/idp/conf/cas-protocol-system.xml | 3 ++-
 .../src/main/resources/net/shibboleth/idp/module/conf/idp.properties   | 3 +++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/cas-protocol-system.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/cas-protocol-system.xml
index c00c22067..a27df285f 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/cas-protocol-system.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/cas-protocol-system.xml
@@ -39,7 +39,8 @@
     <alias name="encodingTicketService" alias="shibboleth.DefaultCASTicketService" />
 
     <bean id="proxyHttpClient" parent="shibboleth.InternalHttpClient"
-          p:tLSSocketFactory-ref="shibboleth.SecurityEnhancedTLSSocketFactory" />
+      p:tLSSocketFactory-ref="shibboleth.SecurityEnhancedTLSSocketFactory"
+      p:httpFollowRedirects="%{idp.cas.proxy.followRedirects:false}" />
 
     <bean id="proxyHttpSecurity" class="org.opensaml.security.httpclient.HttpClientSecurityParameters">
         <property name="tLSTrustEngine">
diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/conf/idp.properties b/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/conf/idp.properties
index fdf1d1089..43f4ba164 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/conf/idp.properties
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/conf/idp.properties
@@ -247,6 +247,9 @@ idp.ui.fallbackLanguages=en,fr,de
 # If true, CAS services provisioned with SAML metadata are identified via entityID
 #idp.cas.relyingPartyIdFromMetadata=false
 
+# Turn on to allow proxy callbacks to follow redirects
+#idp.cas.proxy.followRedirects = false
+
 # F-TICKS auditing - set a salt to include hashed username
 #idp.fticks.federation = MyFederation
 #idp.fticks.condition = MyFTICKSCondition

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


More information about the commits mailing list