Ordering Strings via Spring ?

Tom Zeller tzeller at dragonacea.biz
Fri Mar 13 13:33:01 EDT 2015


Anyone have code or suggestions on how to order Strings in a custom
way via Spring ?

I ask because of IDP-624, which is a request to control the ordering
of attributes displayed during attribute release consent.

What I want is to implement Comparator<String> based on a Spring
<util:list />, where Strings not in the list default to alphabetical
ordering, or maybe are appended.

The uApprove code is an example, but I was wondering if there was a
more generic way to specify String ordering, as it might be useful
elsewhere.

Thanks.


More information about the dev mailing list