RelyingPartyByTag require multiple entity attribute values

Cantor, Scott cantor.2 at osu.edu
Tue Jun 9 19:59:18 EDT 2015


On 6/8/15, 11:32 PM, "Jeffrey Crawford" <jeffreyc at ucsc.edu> wrote:



>Is there a way to make a RelyingPartyOverride bean entry to require the 
>presence of two attributes? I seem to be able to perform an "or" but not 
>an "and"

The wiring is *very* ugly, but this is an untested example that should be 
pretty close:

http://pastebin.com/5vPx3VA3


There are large portions of that I can hide behind parent beans to make it 
easier. But I might also be able to just expose a basic AND/OR flag also 
so that it's not necessary to wrap the individual conditions in an AND 
explicitly.

This is functional programming, basically. It's certainly possible to do 
this in a script, this just replaces a script with a functional program 
written in Spring-ese.

-- Scott



More information about the users mailing list