<div dir="ltr">Thanks Scott<div><br></div><div>now below works</div><div><br></div><div><div style="font-size:12.8px"><bean parent="shibboleth.<wbr>SAML2PersistentGenerator"></div><div style="font-size:12.8px"> <property name="activationCondition"></div><div style="font-size:12.8px"> <bean id="MyCondition" parent="shibboleth.Conditions.<wbr>NOT"></div><div style="font-size:12.8px"><span style="font-size:12.8px"> <constructor-arg></span><br></div><div style="font-size:12.8px"> <bean id="MyCondition2" parent="shibboleth.Conditions.<wbr>RelyingPartyId"></div><div style="font-size:12.8px"> <constructor-arg name="candidates"></div><div style="font-size:12.8px"> <list></div><div style="font-size:12.8px"> <value>urn:sample2:sample2</<wbr>value></div><div style="font-size:12.8px"> <value>urn:sample1:sample1</<wbr>value></div><div style="font-size:12.8px"> </list></div><div style="font-size:12.8px"> </constructor-arg></div><div style="font-size:12.8px"> </bean></div><div style="font-size:12.8px"><span style="font-size:12.8px"> </constructor-arg></span><br></div><div style="font-size:12.8px"> </bean></div><div style="font-size:12.8px"> </property></div><div style="font-size:12.8px"></bean></div></div><div><br></div><div>but below does not work (NOT condition not evaluating)</div><div><br></div><div><span style="font-size:12.8px"><bean parent="shibboleth.</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">SAML2PersistentGenerator"></span><br></div><div><div style="font-size:12.8px"><div> <property name="activationCondition"></div><div> <bean id="MyCondition" parent="shibboleth.Conditions.<wbr>NOT"></div><div> <constructor-arg></div><div> <bean parent="shibboleth.Conditions.<wbr>RelyingPartyId" c:candidates="#{{'urn:sample2:<wbr>sample2','urn:sample1:sample1'<wbr>}}" /></div><div> </constructor-arg></div><div> </bean></div><div> </property></div><div></bean></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div><span style="font-size:12.8px">I am unclear as to what the difference between these two.....I encountered before as well, that, only inline constructor works....basically as a need I dont need,SAML2PersistentGenerator been applied to listed relyingParties, as SAML2AttributeSourcedGenerator defined for those two relyingParties.</span></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 29, 2017 at 11:53 AM, Cantor, Scott <span dir="ltr"><<a href="mailto:cantor.2@osu.edu" target="_blank">cantor.2@osu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 6/28/17, 9:35 PM, "users on behalf of Lalith Jayaweera" <<a href="mailto:users-bounces@shibboleth.net">users-bounces@shibboleth.net</a> on behalf of <a href="mailto:ljayaweera@gmail.com">ljayaweera@gmail.com</a>> wrote:<br>
<br>
> Now I got two relyingParties satisfying above, so I changed above to below, but below does not work when it passe the nameID,<br>
> as if like NOT condition not getting evaluated.<br>
<br>
</span>Then it's not the policy that you think you want, but it's generally possible to apply a negation like that.<br>
<span class=""><br>
> Also isnt something like below possible (inline constructor)? below failing at startup....<br>
<br>
</span>You left out the constructor-arg around the NOT bean's argument.<br>
<span class="HOEnZb"><font color="#888888"><br>
-- Scott<br>
<br>
<br>
<br>
<br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.<wbr>net</a><br>
</font></span></blockquote></div><br></div>