IdP v4.3.1 - Resolver script access to SP metadata EntityAttributes

Mak, Steve makst at upenn.edu
Wed Feb 21 22:30:39 UTC 2024


Disregard, I figured it out.

custom.apply(profileContext)

From: users <users-bounces at shibboleth.net> on behalf of Mak, Steve via users <users at shibboleth.net>
Date: Wednesday, February 21, 2024 at 5:15 PM
To: Cantor, Scott <cantor.2 at osu.edu>, Shib Users <users at shibboleth.net>
Cc: Mak, Steve <makst at upenn.edu>
Subject: Re: IdP v4.3.1 - Resolver script access to SP metadata EntityAttributes
Ok so I have made a new bean in global.xml.

    <bean id="entityAttribute.tag1" class="net.shibboleth.idp.saml.profile.config.StringConfigurationLookupStrategy"
        p:propertyName="urn:mace:upenn.edu:penn:shib:idp:tag1"
        p:explicitPropertyName="true"
        p:enableCaching="true"/>

I've started making a new <AttributeDefinition> with customObjectRef=" entityAttribute.tag1"

How do I access the object value? The docs say:

> custom.apply(input);

But this gives an error in my logs that "input" is not defined. I did log the object itself and it does output the object class is:

Object is: net.shibboleth.idp.saml.profile.config.StringConfigurationLookupStrategy

- Steve

From: Cantor, Scott <cantor.2 at osu.edu>
Date: Wednesday, February 21, 2024 at 4:15 PM
To: Shib Users <users at shibboleth.net>
Cc: Mak, Steve <makst at upenn.edu>
Subject: Re: IdP v4.3.1 - Resolver script access to SP metadata EntityAttributes
The full(er) support is in 5.x, but there are pages in both wikis that cover it.

https://urldefense.com/v3/__https://shibboleth.atlassian.net/wiki/spaces/IDP4/pages/3201892356/AccessingMetadataTags__;!!IBzWLUs!S5HyzRxPAm9bvb6nBxcKsWf-sTqWNFp9Kqhoou-pGl64IYRfZYYl5ITWbnh6_xRffQ2Ho2nYpSiZk1gC$<https://urldefense.com/v3/__https:/shibboleth.atlassian.net/wiki/spaces/IDP4/pages/3201892356/AccessingMetadataTags__;!!IBzWLUs!S5HyzRxPAm9bvb6nBxcKsWf-sTqWNFp9Kqhoou-pGl64IYRfZYYl5ITWbnh6_xRffQ2Ho2nYpSiZk1gC$>

https://urldefense.com/v3/__https://shibboleth.atlassian.net/wiki/spaces/IDP5/pages/3203694593/AccessingMetadataTags__;!!IBzWLUs!S5HyzRxPAm9bvb6nBxcKsWf-sTqWNFp9Kqhoou-pGl64IYRfZYYl5ITWbnh6_xRffQ2Ho2nYpdbGayNM$<https://urldefense.com/v3/__https:/shibboleth.atlassian.net/wiki/spaces/IDP5/pages/3203694593/AccessingMetadataTags__;!!IBzWLUs!S5HyzRxPAm9bvb6nBxcKsWf-sTqWNFp9Kqhoou-pGl64IYRfZYYl5ITWbnh6_xRffQ2Ho2nYpdbGayNM$>

-- Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20240221/7246c831/attachment.htm>


More information about the users mailing list