[JIRA] (JOIDC-132) Improve customization methods for the configuration flow

Henri Mikkonen (Jira) jira at shibboleth.atlassian.net
Fri Nov 4 13:24:35 UTC 2022


Henri Mikkonen ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1614c4a5-c89e-4edc-9421-990bd6ea85fd ) *commented* on JOIDC-132 ( https://shibboleth.atlassian.net/browse/JOIDC-132?atlOrigin=eyJpIjoiODJjYTdmZTk5ZWRhNDBmZWEwNDA4NmQwZWVkNzQyN2UiLCJwIjoiaiJ9 )

Re: Improve customization methods for the configuration flow ( https://shibboleth.atlassian.net/browse/JOIDC-132?atlOrigin=eyJpIjoiODJjYTdmZTk5ZWRhNDBmZWEwNDA4NmQwZWVkNzQyN2UiLCJwIjoiaiJ9 )

> 
> 
> 
> You’ll want to move that FunctionMetadataValueResolver into the API or,
> more likely, just define a parent bean for it so people don’t have to
> reference it.
> 
> 

Good point, thanks!

Defined a new abstract global bean shibboleth.oidc.discovery.FunctionMetadataValueResolver. It can be used in the previous example in the following way:

   <bean id="CustomConfigurationValues" parent="shibboleth.oidc.discovery.DefaultDynamicValueResolvers"
       class="org.springframework.beans.factory.config.MapFactoryBean">
       <property name="sourceMap">
           <map merge="true">
               <entry key="STATIC_TEST_ATTRIBUTE">
                   <bean parent="shibboleth.oidc.discovery.FunctionMetadataValueResolver">
                       <property name="resolverFunction">
                           <bean parent="shibboleth.Functions.Constant" c:target="TestValue"/>
                       </property>
                   </bean>
               </entry>
           </map>
       </property>
   </bean>

( https://shibboleth.atlassian.net/browse/JOIDC-132#add-comment?atlOrigin=eyJpIjoiODJjYTdmZTk5ZWRhNDBmZWEwNDA4NmQwZWVkNzQyN2UiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JOIDC-132#add-comment?atlOrigin=eyJpIjoiODJjYTdmZTk5ZWRhNDBmZWEwNDA4NmQwZWVkNzQyN2UiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100210- sha1:21ade21 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20221104/4630f675/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-f7559996-9f16-4ebd-b935-587d89dadab1
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20221104/4630f675/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-bf7886ae-a0fe-4d4c-8bd0-ccc320dd4b83
Type: image/png
Size: 457 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20221104/4630f675/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-211aad78-598c-4983-a8e0-7e91a70998de
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20221104/4630f675/attachment-0005.png>


More information about the commits mailing list