[java-idp-plugin-oidc-config] branch main updated: Stop using the removed 'idp.oidc.refreshToken.defaultLifetime' -propertty.

Henri Mikkonen henri.mikkonen at iki.fi
Fri Sep 8 09:58:39 UTC 2023


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

hjmikkon pushed a commit to branch main
in repository java-idp-plugin-oidc-config.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-oidc-config.git;a=commit;h=eecda8555a75338d6f2a843c92480491d1db99e2

The following commit(s) were added to refs/heads/main by this push:
     new eecda85  Stop using the removed 'idp.oidc.refreshToken.defaultLifetime' -propertty.
eecda85 is described below

commit eecda8555a75338d6f2a843c92480491d1db99e2
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Fri Sep 8 12:58:09 2023 +0300

    Stop using the removed 'idp.oidc.refreshToken.defaultLifetime' -propertty.
    
    It's also moved to deadProperties.
---
 .../src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml       | 2 +-
 .../META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/oidc-config-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml b/oidc-config-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
index f2163ba..e9692a5 100644
--- a/oidc-config-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
+++ b/oidc-config-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
@@ -28,7 +28,6 @@
     <bean class="net.shibboleth.idp.spring.DeprecatedPropertyBean">
         <property name="deprecatedProperties">
             <map>
-                <entry key="idp.oidc.refreshToken.defaultLifetime" value="idp.oidc.refreshToken.defaultTimeout" />
              </map>
         </property>
         <property name="deadProperties">
@@ -36,6 +35,7 @@
                 <value>idp.oidc.tevalid.config</value>
                 <value>idp.oidc.rovalid.config</value>
                 <value>idp.oidc.rodecrypt.config</value>
+                <value>idp.oidc.refreshToken.defaultLifetime</value>
             </list>
         </property>
     </bean>
diff --git a/oidc-config-impl/src/main/resources/META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml b/oidc-config-impl/src/main/resources/META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml
index 5b8367e..cb38ef9 100644
--- a/oidc-config-impl/src/main/resources/META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml
+++ b/oidc-config-impl/src/main/resources/META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml
@@ -46,7 +46,7 @@
         p:iDTokenLifetime="%{idp.oidc.idToken.defaultLifetime:PT1H}"
         p:accessTokenType="%{idp.oauth2.accessToken.type:}"
         p:accessTokenLifetime="%{idp.oidc.accessToken.defaultLifetime:PT10M}"
-        p:refreshTokenTimeout="%{idp.oidc.refreshToken.defaultTimeout:%{idp.oidc.refreshToken.defaultLifetime:PT2H}}"
+        p:refreshTokenTimeout="%{idp.oidc.refreshToken.defaultTimeout:PT2H}"
         p:refreshTokenChainLifetime="%{idp.oidc.refreshToken.defaultChainLifetime:PT2H}"
         p:alwaysIncludedAttributes="%{idp.oidc.alwaysIncludedAttributes:}"        
         p:tokenEndpointAuthMethod="%{idp.authn.oidc.rp.client.authenticationMethod:client_secret_basic}"

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


More information about the commits mailing list