mace-opensaml-users - RE: SAMLNameIdentifier.equals
Subject: OpenSAML user discussion
List archive
- From: "Scott Cantor" <>
- To: "'Tom Scavo'" <>
- Cc: "'OpenSAML'" <>
- Subject: RE: SAMLNameIdentifier.equals
- Date: Fri, 13 Jan 2006 13:52:38 -0500
- Organization: The Ohio State University
> > I don't know whether Chad had planned to change this behavior or not.
I'd
> > have to see how it would work in the general case before I would change
my
> > mind.
>
> Here's a possible implementation of equals in SAMLNameIdentifier:
By "general case", I meant for everything in the library for all possible
cases. I think that's infeasible, and unnecessary because Object.equals() is
not meant to be used this way. It needs only a reasonable, consistent
implementation, and I think it has one.
It would be far worse to have some of the classes supply one that behaves
differently from the rest because they happen to be easily implementable or
make more intuitive sense to some people.
Right now, they all work exactly the same and two copies of the same data
are simply not equal. I don't see that changing.
OTOH, supplying a set of useful Comparators (see Chad's last email) may be a
very good idea, even some that behave differently for different use cases.
-- Scott
- SAMLNameIdentifier.equals, Tom Scavo, 01/12/2006
- Re: SAMLNameIdentifier.equals, Chad La Joie, 01/12/2006
- RE: SAMLNameIdentifier.equals, Scott Cantor, 01/12/2006
- Re: SAMLNameIdentifier.equals, Chad La Joie, 01/13/2006
- Re: SAMLNameIdentifier.equals, Tom Scavo, 01/13/2006
- RE: SAMLNameIdentifier.equals, Scott Cantor, 01/13/2006
- Re: SAMLNameIdentifier.equals, Tom Scavo, 01/13/2006
- RE: SAMLNameIdentifier.equals, Scott Cantor, 01/13/2006
- Re: SAMLNameIdentifier.equals, Tom Scavo, 01/13/2006
- RE: SAMLNameIdentifier.equals, Scott Cantor, 01/13/2006
- Re: SAMLNameIdentifier.equals, Tom Scavo, 01/13/2006
- Re: SAMLNameIdentifier.equals, Tom Scavo, 01/13/2006
- RE: SAMLNameIdentifier.equals, Scott Cantor, 01/13/2006
- Re: SAMLNameIdentifier.equals, Tom Scavo, 01/13/2006
- Re: SAMLNameIdentifier.equals, Chad La Joie, 01/13/2006
- RE: SAMLNameIdentifier.equals, Scott Cantor, 01/12/2006
- Re: SAMLNameIdentifier.equals, Tom Scavo, 01/13/2006
- Re: SAMLNameIdentifier.equals, Chad La Joie, 01/13/2006
- Re: SAMLNameIdentifier.equals, Tom Scavo, 01/13/2006
- RE: SAMLNameIdentifier.equals, Scott Cantor, 01/13/2006
- Re: SAMLNameIdentifier.equals, Tom Scavo, 01/13/2006
- RE: SAMLNameIdentifier.equals, Scott Cantor, 01/13/2006
- Re: SAMLNameIdentifier.equals, Tom Scavo, 01/13/2006
- RE: SAMLNameIdentifier.equals, Scott Cantor, 01/13/2006
- Re: SAMLNameIdentifier.equals, Tom Scavo, 01/13/2006
- Re: SAMLNameIdentifier.equals, Chad La Joie, 01/13/2006
- Re: SAMLNameIdentifier.equals, Chad La Joie, 01/12/2006
- Re: SAMLNameIdentifier.equals, Chad La Joie, 01/13/2006
- Re: SAMLNameIdentifier.equals, Tom Scavo, 01/13/2006
Archive powered by MHonArc 2.6.16.