[JIRA] (JSSH-33) Spring converters run before property replacement

Scott Cantor (Jira) jira at shibboleth.atlassian.net
Tue Jun 13 20:26:46 UTC 2023


Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 ) *commented* on JSSH-33 ( https://shibboleth.atlassian.net/browse/JSSH-33?atlOrigin=eyJpIjoiYzNmNGZjZWQ2MmQ4NGI1YTkyMTc4YWJiODVmNTZlOTQiLCJwIjoiaiJ9 )

Re: Spring converters run before property replacement ( https://shibboleth.atlassian.net/browse/JSSH-33?atlOrigin=eyJpIjoiYzNmNGZjZWQ2MmQ4NGI1YTkyMTc4YWJiODVmNTZlOTQiLCJwIjoiaiJ9 )

Notably, the “key” is the declaration we use all over our contexts:

   <bean id="shibboleth.PropertySourcesPlaceholderConfigurer"
       class="org.springframework.context.support.PropertySourcesPlaceholderConfigurer"
       p:placeholderPrefix="%{" p:placeholderSuffix="}" />

This somehow causes property replacement to work properly when just using ApplicationContextBuilder alone does not. I always knew there were subtle things going on there I didn’t understand but this is bubbling up now to become a serious question.

( https://shibboleth.atlassian.net/browse/JSSH-33#add-comment?atlOrigin=eyJpIjoiYzNmNGZjZWQ2MmQ4NGI1YTkyMTc4YWJiODVmNTZlOTQiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JSSH-33#add-comment?atlOrigin=eyJpIjoiYzNmNGZjZWQ2MmQ4NGI1YTkyMTc4YWJiODVmNTZlOTQiLCJwIjoiaiJ9 )

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#100226- sha1:1cc165e )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230613/ca126f17/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-4b581f4d-9cfa-4e66-8344-1a060d9e6c85
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230613/ca126f17/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-685dbab7-6963-4814-aa0a-ea99c6aa3908
Type: image/png
Size: 345 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230613/ca126f17/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-5f9445dd-79ac-4fd4-8f35-9f14e0d0ce6a
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230613/ca126f17/attachment-0005.png>


More information about the commits mailing list