[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 03:14:04 UTC 2022
Aaron Howell ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=60ad33fa06bf0c006a43d19d ) *created* an issue
Identity Provider ( https://shibboleth.atlassian.net/browse/IDP?atlOrigin=eyJpIjoiNjlmNDJmNGYxMjkwNDY4N2JiZDlkNjc3ZWM0NjdiODQiLCJwIjoiaiJ9 ) / Bug ( https://shibboleth.atlassian.net/browse/IDP-1953?atlOrigin=eyJpIjoiNjlmNDJmNGYxMjkwNDY4N2JiZDlkNjc3ZWM0NjdiODQiLCJwIjoiaiJ9 ) IDP-1953 ( https://shibboleth.atlassian.net/browse/IDP-1953?atlOrigin=eyJpIjoiNjlmNDJmNGYxMjkwNDY4N2JiZDlkNjc3ZWM0NjdiODQiLCJwIjoiaiJ9 ) Reload of AttributeResolverService does not appear to register the AttributeEncoder of a new AttributeDefinition ( https://shibboleth.atlassian.net/browse/IDP-1953?atlOrigin=eyJpIjoiNjlmNDJmNGYxMjkwNDY4N2JiZDlkNjc3ZWM0NjdiODQiLCJwIjoiaiJ9 )
Issue Type: Bug Affects Versions: 4.0.1 Assignee: Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 ) Components: Attribute Resolver Created: 26/May/22 11:14 PM Priority: Trivial Reporter: Aaron Howell ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=60ad33fa06bf0c006a43d19d )
Encoder is on the attribute :
<AttributeDefinition id= "Groups" xsi:type= "RegexSplit" regex= "group-(.*)" activationConditionRef= "AllowGroups" >
<InputDataConnector ref= "LDAP_groups" attributeNames= "cn" />
<DisplayName xml:lang= "en" > Groups </DisplayName>
<DisplayDescription xml:lang= "en" > These are your groups </DisplayDescription>
<AttributeEncoder xsi:type= "SAML2String" name= "Groups" friendlyName= "Groups" />
</AttributeDefinition>
Service has been reloaded
sudo reload-service.sh --service shibboleth.AttributeResolverService
Log show that the AttributeDefinition has been picked up, but doesn’t appear to find any encoder for the attribute
2022-05-27 12:02:37,929 - 127.0.0.1 - DEBUG [net.shibboleth.idp.saml.saml2.profile.impl.AddAttributeStatementToAssertion:184] - Profile Action AddAttributeStatementToAssertion: Attempting to encode attribute Groups as a SAML 2 Attribute
2022-05-27 12:02:37,929 - 127.0.0.1 - DEBUG [net.shibboleth.idp.saml.profile.impl.BaseAddAttributeStatementToAssertion:321] - Profile Action AddAttributeStatementToAssertion: Attribute Groups does not have any transcoding rules, nothing to do
2022-05-27 12:02:37,929 - 127.0.0.1 - DEBUG [net.shibboleth.idp.saml.saml2.profile.impl.AddAttributeStatementToAssertion:188] - Profile Action AddAttributeStatementToAssertion: Attribute Groups did not have SAML 2 Attribute transcoder instructions associated, nothing to do
2022-05-27 12:02:37,929 - 127.0.0.1 - DEBUG [net.shibboleth.idp.saml.saml2.profile.impl.AddAttributeStatementToAssertion:156] - Profile Action AddAttributeStatementToAssertion: No attributes were encoded as SAML 2 Attributes, nothing to do
2022-05-27 12:02:37,930 - 127.0.0.1 - DEBUG [net.shibboleth.idp.saml.saml2.profile.impl.AddAttributeStatementToAssertion:98] - Profile Action AddAttributeStatementToAssertion: No AttributeStatement was built, nothing to do
I know we’re a number of versions behind, we are currently planning an upgrade, however I can’t see this issue having being dealt with in the release notes or Jira tickets in later releases
( https://shibboleth.atlassian.net/browse/IDP-1953#add-comment?atlOrigin=eyJpIjoiNjlmNDJmNGYxMjkwNDY4N2JiZDlkNjc3ZWM0NjdiODQiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/IDP-1953#add-comment?atlOrigin=eyJpIjoiNjlmNDJmNGYxMjkwNDY4N2JiZDlkNjc3ZWM0NjdiODQiLCJwIjoiaiJ9 )
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/5260bea3/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-c2c867e8-dd5c-4edd-82d6-cca921842d94
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220527/5260bea3/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-fb6c8da4-49d0-4a6a-9add-5af11dda0617
Type: image/png
Size: 563 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220527/5260bea3/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-c3dc811d-1d32-4e4a-bb87-2825ae31ab9d
Type: image/png
Size: 425 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220527/5260bea3/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-045be42a-430d-4123-bcee-a67278282c49
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220527/5260bea3/attachment-0007.png>
More information about the commits
mailing list