Ordering Strings via Spring ?
Cantor, Scott
cantor.2 at osu.edu
Fri Mar 13 15:24:20 EDT 2015
On 3/13/15, 3:16 PM, "Tom Zeller" <tzeller at dragonacea.biz> wrote:
>On Fri, Mar 13, 2015 at 12:47 PM, Cantor, Scott <cantor.2 at osu.edu> wrote:
>> I did it with a map, assigning weighting integers to particular values and using that to drive a custom Comparator (see net.shibboleth.idp.authn.principal.DefaultPrincipalDeterminationStrategy).
>
>Assigning weights sounds promising, because in the case of attribute
>ordering, it is likely that deployers will also want to "group"
>attributes in locally specific ways.
It's a little ugly to configure, but if you think it's sufficiently rare to need it, it's probably an ok approach. I agree, that sounds like a likely need.
-- Scott
More information about the dev
mailing list