Skip to Content.
Sympa Menu

shibboleth-dev - Re: duplicate attribute values

Subject: Shibboleth Developers

List archive

Re: duplicate attribute values


Chronological Thread 
  • From: Ian Young <>
  • To:
  • Subject: Re: duplicate attribute values
  • Date: Fri, 22 Jun 2007 17:36:00 +0100
  • Openpgp: id=EA2882BB

Chad La Joie wrote:

> I think this is already taken care of in 2.0. We use Sets (SortedSets
> to be exact) for value lists. So, for simple "native" type values (int,
> long, float, string, etc.) filtering will be automatically handled.

Great, it certainly seems like better _default_ behaviour.

> For other types you'll just need to make sure the implement the
> equals(Object) and hashCode() methods in a way that meets your
> definition of equality.

Presumably if someone _did_ want to generate suplicate values as in 1.3,
the reverse would apply: implement equals() as Object equality rather
than doing value comparisons?

-- Ian




Archive powered by MHonArc 2.6.16.

Top of Page