<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace">That almost worked on the first try! If you wanted to use that as a template for someone else, the only thing I needed to do was replace '>' with '/>' on the TagCandidate lines.<br><br>so instead of:<br><span><span><bean</span> <span>parent</span>=<span>"TagCandidate"</span> <span>c:name</span>=<span>"<a href="http://example.org/foo" target="_blank">http://example.org/foo</a>"</span> <span>p:values</span>=<span>"bar"</span><span>></span></span><br><span><span><bean</span> <span>parent</span>=<span>"TagCandidate"</span> <span>c:name</span>=<span>"<a href="http://example.org/foo2" target="_blank">http://example.org/foo2</a>"</span> <span>p:values</span>=<span>"bar"</span><span>><br><br></span></span></div><div class="gmail_default" style="font-family:courier new,monospace"><span><span>using:<br></span></span><span><span><bean</span> <span>parent</span>=<span>"TagCandidate"</span> <span>c:name</span>=<span>"<a href="http://example.org/foo" target="_blank">http://example.org/foo</a>"</span> <span>p:values</span>=<span>"bar"</span><span> /></span></span><br><span><span><bean</span> <span>parent</span>=<span>"TagCandidate"</span> <span>c:name</span>=<span>"<a href="http://example.org/foo2" target="_blank">http://example.org/foo2</a>"</span> <span>p:values</span>=<span>"bar" /</span><span>><br></span></span><br><br></div><div class="gmail_default" style="font-family:courier new,monospace">From the example structure it seems like I should also be able to arbitrarily mix and match "matching Types". I know I originally only asked for a combination of tags but a global group might be interesting too. So I tried the following in one of the "AND'd" constructor-args:<br><bean class="org.opensaml.saml.common.profile.logic.EntityGroupNamePredicate"<br> c:groupNames="urn:mace:ucsc.edu:metadata:local" /><br><br></div><div class="gmail_default" style="font-family:courier new,monospace">But I think I'm missing something in the section:<br><bean class="com.google.common.base.Functions"<br> factory-method="compose"><br><br></div><div class="gmail_default" style="font-family:courier new,monospace">because the log is complaining about a missing beans in the constructor arguments, however I'm not understanding the connection between the classes to understand what's missing.<br></div><div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_default" style="font-family:courier new,monospace"><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><font face="courier new, monospace">Jeffrey E. Crawford<br>ITS Application Administrator (IdM)<br>831-459-4365<br><a href="mailto:jeffreyc@ucsc.edu" target="_blank">jeffreyc@ucsc.edu</a></font><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">Both pilots and IT professionals require training and currency before charging into clouds!<br></font></div><div><font face="courier new, monospace">---------------------------------------</font></div></div></div></div>
<br><div class="gmail_quote">On Tue, Jun 9, 2015 at 4:59 PM, 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/8/15, 11:32 PM, "Jeffrey Crawford" <<a href="mailto:jeffreyc@ucsc.edu">jeffreyc@ucsc.edu</a>> wrote:<br>
<br>
<br>
<br>
</span><span class="">>Is there a way to make a RelyingPartyOverride bean entry to require the<br>
>presence of two attributes? I seem to be able to perform an "or" but not<br>
>an "and"<br>
<br>
</span>The wiring is *very* ugly, but this is an untested example that should be<br>
pretty close:<br>
<br>
<a href="http://pastebin.com/5vPx3VA3" target="_blank">http://pastebin.com/5vPx3VA3</a><br>
<br>
<br>
There are large portions of that I can hide behind parent beans to make it<br>
easier. But I might also be able to just expose a basic AND/OR flag also<br>
so that it's not necessary to wrap the individual conditions in an AND<br>
explicitly.<br>
<br>
This is functional programming, basically. It's certainly possible to do<br>
this in a script, this just replaces a script with a functional program<br>
written in Spring-ese.<br>
<div class="HOEnZb"><div class="h5"><br>
-- Scott<br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
</div></div></blockquote></div><br></div>