<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Aptos;
        panose-1:2 11 0 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.token
        {mso-style-name:token;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Ok so I have made a new bean in global.xml.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    <bean id="entityAttribute.tag1" class="net.shibboleth.idp.saml.profile.config.StringConfigurationLookupStrategy"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        p:propertyName="urn:mace:upenn.edu:penn:shib:idp:tag1"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        p:explicitPropertyName="true"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        p:enableCaching="true"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I've started making a new <AttributeDefinition> with customObjectRef="</span>
<span style="font-size:11.0pt">entityAttribute.tag1"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">How do I access the object value? The docs say:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">> </span><span class="token"><span style="font-family:"Courier New"">custom.apply(input);<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">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:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Object is: net.shibboleth.idp.saml.profile.config.StringConfigurationLookupStrategy<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">- Steve<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div id="mail-editor-reference-message-container">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;font-family:"Aptos",sans-serif;color:black">From:
</span></b><span style="font-size:12.0pt;font-family:"Aptos",sans-serif;color:black">Cantor, Scott <cantor.2@osu.edu><br>
<b>Date: </b>Wednesday, February 21, 2024 at 4:15</span><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"> </span><span style="font-size:12.0pt;font-family:"Aptos",sans-serif;color:black">PM<br>
<b>To: </b>Shib Users <users@shibboleth.net><br>
<b>Cc: </b>Mak, Steve <makst@upenn.edu><br>
<b>Subject: </b>Re: IdP v4.3.1 - Resolver script access to SP metadata EntityAttributes<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt">The full(er) support is in 5.x, but there are pages in both wikis that cover it.<br>
<br>
<a href="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$</a>
<br>
<br>
<a href="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$</a>
<br>
<br>
-- Scott<br>
<br>
<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</body>
</html>