[java-idp-oidc] branch main updated: Adjust optional encryption settings for tests.

Scott Cantor cantor.2 at osu.edu
Wed Feb 23 19:08:36 UTC 2022


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

scantor pushed a commit to branch main
in repository java-idp-oidc.

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

The following commit(s) were added to refs/heads/main by this push:
     new 2595da58 Adjust optional encryption settings for tests.
2595da58 is described below

commit 2595da58535792e1045967bcfdc6ebf106b56f93
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Feb 23 14:08:33 2022 -0500

    Adjust optional encryption settings for tests.
---
 .../META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml  | 4 ++--
 idp-oidc-extension-impl/src/test/resources/conf/relying-party.xml     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml b/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml
index f8f5954a..9919c870 100644
--- a/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml
+++ b/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml
@@ -68,7 +68,7 @@
     <bean id="OAUTH2.TokenAudience" parent="AbstractOIDCProfile" lazy-init="true"
         class="net.shibboleth.oidc.profile.oauth2.config.OAuth2TokenAudienceConfiguration"
         p:issuer-ref="issuer"
-        p:encryptionOptional="%{idp.oauth2.encryptionOptional:true}"
+        p:encryptionOptional="%{idp.oauth2.encryptionOptional:false}"
         p:accessTokenType="%{idp.oauth2.accessToken.type:}"
         p:accessTokenLifetime="%{idp.oauth2.accessToken.defaultLifetime:PT10M}" />
         
@@ -387,7 +387,7 @@
                 <constructor-arg>
                     <bean parent="shibboleth.MDDrivenBoolProperty" p:propertyName="encryptionOptional" />
                 </constructor-arg>
-                <constructor-arg value="%{idp.oauth2.encryptionOptional:true}" />
+                <constructor-arg value="%{idp.oauth2.encryptionOptional:false}" />
             </bean>
         </property>
         <property name="accessTokenTypeLookupStrategy">
diff --git a/idp-oidc-extension-impl/src/test/resources/conf/relying-party.xml b/idp-oidc-extension-impl/src/test/resources/conf/relying-party.xml
index 0519b463..98c7928b 100644
--- a/idp-oidc-extension-impl/src/test/resources/conf/relying-party.xml
+++ b/idp-oidc-extension-impl/src/test/resources/conf/relying-party.xml
@@ -27,7 +27,7 @@
                 <ref bean="OIDC.Registration" />
                 <ref bean="OIDC.Configuration" />
                 <ref bean="OAUTH2.Token" />
-                <ref bean="OAUTH2.TokenAudience" /> 
+                <bean parent="OAUTH2.TokenAudience" p:encryptionOptional="true" /> 
                 <ref bean="OAUTH2.Introspection" />
                 <ref bean="OAUTH2.Revocation" />
             </list>
@@ -86,7 +86,7 @@
                 c:relyingPartyIds="#{{'https://rp.example.org', 'https://resource.example.org'}}">
             <property name="profileConfigurations">
                  <list>
-                     <bean parent="OAUTH2.TokenAudience.MDDriven" p:accessTokenType="JWT" />
+                     <bean parent="OAUTH2.TokenAudience.MDDriven" p:accessTokenType="JWT" p:encryptionOptional="true" />
                  </list>
             </property>
         </bean>

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


More information about the commits mailing list