<div dir="ltr">It seems that moving <span style="color:rgb(229,0,0);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px">activationConditionRef </span>to the <span style="color:rgb(128,0,0);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px">DataConnector </span>instead of <span style="color:rgb(128,0,0);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px">AttributeDefinition </span>solved my problem.<div><span style="color:rgb(128,0,0);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px"><br></span></div>Thanks! Regards</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 8, 2024 at 7:45 AM Mohamed Lrhazi <<a href="mailto:lrhazi@cua.edu">lrhazi@cua.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">It seems to resolve the attribute and then log this:<div><br></div><div><div style="color:rgb(60,68,77);font-family:"Splunk Platform Sans","Proxima Nova",Roboto,Droid,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;background-color:rgb(242,244,245)"><pre style="border-radius:3px;font-family:"Splunk Platform Mono",Inconsolata,Consolas,"Droid Sans Mono",Monaco,"Courier New",Courier,monospace;background-color:rgb(245,245,245);border:0px;font-size:13px;line-height:20px;margin-top:0px;margin-bottom:0px;padding:0px;word-break:break-all">AbstractResolverPlugin:175] - Resolver plugin 'isPatron': activation criteria not met, nothing to do</pre></div><div style="color:rgb(60,68,77);font-family:"Splunk Platform Sans","Proxima Nova",Roboto,Droid,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;background-color:rgb(242,244,245)"><pre style="border-radius:3px;font-family:"Splunk Platform Mono",Inconsolata,Consolas,"Droid Sans Mono",Monaco,"Courier New",Courier,monospace;background-color:rgb(245,245,245);border:0px;font-size:13px;line-height:20px;margin-top:0px;margin-bottom:0px;padding:0px;word-break:break-all">pl.AttributeResolverImpl:334] - Attribute Resolver 'ShibbolethAttributeResolver': Attribute definition 'isPatron' produced no attribute</pre><pre style="border-radius:3px;font-family:"Splunk Platform Mono",Inconsolata,Consolas,"Droid Sans Mono",Monaco,"Courier New",Courier,monospace;background-color:rgb(245,245,245);border:0px;font-size:13px;line-height:20px;margin-top:0px;margin-bottom:0px;padding:0px;word-break:break-all"><br></pre></div></div></div><div><br></div>Is there a way to prevent the resolution of the attribute ?<div><br></div><div>Thanks,</div><div>Mohamed.</div><div><br><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 8, 2024 at 7:31 AM Mohamed Lrhazi <<a href="mailto:lrhazi@cua.edu" target="_blank">lrhazi@cua.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><span style="color:rgb(60,68,77);font-size:14px"><font face="arial, sans-serif">Hello,<br></font></span></div><div><span style="color:rgb(60,68,77);font-family:"Splunk Platform Mono",Inconsolata,Consolas,"Droid Sans Mono",Monaco,"Courier New",Courier,monospace;font-size:14px"><br></span></div><div><span style="color:rgb(60,68,77);font-size:14px"><font face="arial, sans-serif">I have an attribute defined as follows:</font></span></div><div><span style="color:rgb(60,68,77);font-size:14px"><font face="arial, sans-serif"><br></font></span></div><div><div style="line-height:18px"><div style="color:rgb(0,0,0);font-size:12px;white-space:pre-wrap;font-family:Menlo,Monaco,"Courier New",monospace"><span style="color:rgb(128,0,0)"><AttributeDefinition</span> <span style="color:rgb(229,0,0)">id</span>=<span style="color:rgb(0,0,255)">"isPatron"</span> <span style="color:rgb(229,0,0)">xsi:type</span>=<span style="color:rgb(0,0,255)">"ScriptedAttribute"</span></div><div style="color:rgb(0,0,0);font-size:12px;white-space:pre-wrap;font-family:Menlo,Monaco,"Courier New",monospace"> <span style="color:rgb(229,0,0)">activationConditionRef</span>=<span style="color:rgb(0,0,255)">"NeedsSQLAttribs_2_Condition"</span><span style="color:rgb(128,0,0)">></span></div><div style="color:rgb(0,0,0);font-size:12px;white-space:pre-wrap;font-family:Menlo,Monaco,"Courier New",monospace"> <span style="color:rgb(128,0,0)"><InputDataConnector</span> <span style="color:rgb(229,0,0)">ref</span>=<span style="color:rgb(0,0,255)">"oracledbcf_csprd_wrlc"</span> <span style="color:rgb(229,0,0)">attributeNames</span>=<span style="color:rgb(0,0,255)">"cx_patron_type"</span> <span style="color:rgb(128,0,0)">/></span></div><div style="color:rgb(0,0,0);font-size:12px;white-space:pre-wrap;font-family:Menlo,Monaco,"Courier New",monospace"> <span style="color:rgb(128,0,0)"><InputDataConnector</span> <span style="color:rgb(229,0,0)">ref</span>=<span style="color:rgb(0,0,255)">"adLdapConnector"</span> <span style="color:rgb(229,0,0)">allAttributes</span>=<span style="color:rgb(0,0,255)">"true"</span> <span style="color:rgb(128,0,0)">/></span></div><div style="color:rgb(0,0,0);font-size:12px;white-space:pre-wrap;font-family:Menlo,Monaco,"Courier New",monospace"> <span style="color:rgb(128,0,0)"><Script></span></div><div style="color:rgb(0,0,0);font-size:12px;white-space:pre-wrap;font-family:Menlo,Monaco,"Courier New",monospace"><span style="color:rgb(128,0,0)">...</span></div><div style="color:rgb(0,0,0);font-size:12px;white-space:pre-wrap;font-family:Menlo,Monaco,"Courier New",monospace"><span style="color:rgb(128,0,0)"><br></span></div>I noticed that it is being evaluated for an SP that is not listed in NeedsSQLAttribs_2_Condition</div><div style="line-height:18px"><br></div><div style="line-height:18px">The logs I see this:</div><div style="line-height:18px"><br><div style="color:rgb(0,0,0);font-size:12px;white-space:pre-wrap"><font face="monospace"><span style="color:rgb(60,68,77);font-size:14px"> </span><span style="color:rgb(60,68,77);font-size:14px">Attribute</span><span style="color:rgb(60,68,77);font-size:14px"> </span><span style="color:rgb(60,68,77);font-size:14px">Resolver</span><span style="color:rgb(60,68,77);font-size:14px"> '</span><span style="color:rgb(60,68,77);font-size:14px">ShibbolethAttributeResolver</span><span style="color:rgb(60,68,77);font-size:14px">'</span><span style="color:rgb(60,68,77);font-size:14px">:</span><span style="color:rgb(60,68,77);font-size:14px"> </span><span style="color:rgb(60,68,77);font-size:14px">Resolving</span><span style="color:rgb(60,68,77);font-size:14px"> </span><span style="color:rgb(60,68,77);font-size:14px">dependencies</span><span style="color:rgb(60,68,77);font-size:14px"> </span><span style="color:rgb(60,68,77);font-size:14px">for</span><span style="color:rgb(60,68,77);font-size:14px"> '</span><span style="color:rgb(60,68,77);font-size:14px">isPatron'</span></font><font face="Menlo, Monaco, Courier New, monospace"><br></font></div><div style="color:rgb(0,0,0);font-size:12px;white-space:pre-wrap"><font face="monospace"><span style="color:rgb(60,68,77);font-size:14px"><br></span></font></div><div style="white-space:pre-wrap"><font color="#3c444d" face="arial, sans-serif"><span style="font-size:14px">I want the attribute to only be resolved for some SPs.... What am I missing to get it to work that way?</span></font></div><div style="white-space:pre-wrap"><br></div><div style="white-space:pre-wrap"><font color="#3c444d" face="arial, sans-serif"><span style="font-size:14px">Thanks a lot,</span></font></div><div style="white-space:pre-wrap"><font color="#3c444d" face="arial, sans-serif"><span style="font-size:14px">Mohamed.</span></font></div></div></div></div>
</blockquote></div></div></div></div>
</blockquote></div>