[JIRA] (IDP-1953) Reload of AttributeResolverService does not appear to register the AttributeEncoder of a new AttributeDefinition
Aaron Howell (Jira)
jira at shibboleth.atlassian.net
Fri May 27 10:13:09 UTC 2022
Aaron Howell ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=60ad33fa06bf0c006a43d19d ) *commented* on IDP-1953 ( https://shibboleth.atlassian.net/browse/IDP-1953?atlOrigin=eyJpIjoiZTQ0Yzc3OWUxMjk1NDEwM2E4MDk3M2Q2ODUwODNkOWUiLCJwIjoiaiJ9 )
Re: Reload of AttributeResolverService does not appear to register the AttributeEncoder of a new AttributeDefinition ( https://shibboleth.atlassian.net/browse/IDP-1953?atlOrigin=eyJpIjoiZTQ0Yzc3OWUxMjk1NDEwM2E4MDk3M2Q2ODUwODNkOWUiLCJwIjoiaiJ9 )
I have and it didn’t appear to work either change anything either - so I didn’t mention because I couldn’t see how it relates. I don’t see the attribute-resolver.xml file is mentioned in the services beans for shibboleth.AttributeRegistryService, so I guess I may not understand how that really work - however I thought it was a list of files that contained the configuration to be reloaded:
<bean id="shibboleth.AttributeRegistryService" class="net.shibboleth.ext.spring.service.ReloadableSpringService"
p:serviceConfigurations-ref="#{
getObject('%{idp.service.attribute.registry.resources:shibboleth.AttributeRegistryResources}'.trim()) != null
? '%{idp.service.attribute.registry.resources:shibboleth.AttributeRegistryResources}'.trim()
: 'shibboleth.DefaultAttributeRegistryResources' }"
p:failFast="%{idp.service.attribute.registry.failFast:%{idp.service.failFast:false }} "
p:reloadCheckDelay="%{idp.service.attribute.registry.checkInterval:PT0S}"
p:beanPostProcessors-ref="shibboleth.IdentifiableBeanPostProcessor"
p:beanFactoryPostProcessors-ref="shibboleth.PropertySourcesPlaceholderConfigurer">
<constructor-arg name="claz" value="net.shibboleth.idp.attribute.transcoding.AttributeTranscoderRegistry" />
<constructor-arg name="strategy">
<bean class="net.shibboleth.idp.attribute.transcoding.impl.AttributeRegistryServiceStrategy"
p:namingRegistry="#{'%{idp.service.attribute.registry.namingRegistry:shibboleth.DefaultNamingRegistry}'.trim()}" />
</constructor-arg>
</bean>
<bean id ="shibboleth.DefaultAttributeRegistryResources" class="net.shibboleth.ext.spring.factory.CombiningListFactoryBean"
p:firstList-ref="#{'%{idp.service.attribute.resolver.resources:shibboleth.AttributeResolverResources}'.trim()}" >
<property name="secondList">
<util:list >
<value>%{idp.home}/conf/attribute-registry.xml</value>
<value>%{idp.home}/system/conf/attribute-registry-system.xml</value>
</util:list>
</property>
</bean>
( https://shibboleth.atlassian.net/browse/IDP-1953#add-comment?atlOrigin=eyJpIjoiZTQ0Yzc3OWUxMjk1NDEwM2E4MDk3M2Q2ODUwODNkOWUiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/IDP-1953#add-comment?atlOrigin=eyJpIjoiZTQ0Yzc3OWUxMjk1NDEwM2E4MDk3M2Q2ODUwODNkOWUiLCJwIjoiaiJ9 )
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#100198- sha1:b34c10a )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220527/e55cc18a/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-d0e2aab0-1a25-48c4-b149-fb9e553194f0
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220527/e55cc18a/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-0fceb581-a91e-45c1-8008-ae032dc01ef4
Type: image/png
Size: 425 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220527/e55cc18a/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-85f820fe-eb2e-4a80-aee9-ad044cc30b80
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220527/e55cc18a/attachment-0005.png>
More information about the commits
mailing list