Skip to Content.
Sympa Menu

mace-opensaml-users - RE: SAMLNameIdentifier.equals

Subject: OpenSAML user discussion

List archive

RE: SAMLNameIdentifier.equals


Chronological Thread 
  • From: "Scott Cantor" <>
  • To: "'Tom Scavo'" <>, "'Chad La Joie'" <>
  • Cc: "'OpenSAML'" <>
  • Subject: RE: SAMLNameIdentifier.equals
  • Date: Fri, 13 Jan 2006 11:20:47 -0500
  • Organization: The Ohio State University

> I understand why canonicalization must precede serialization (in
> toStream) but I don't understand why toString is necessarily required
> for comparison. You could compare the byte streams directly, right?
> This is an implementation issue, but regardless, I think SAMLObject
> needs an equals method.

Sorry, I don't agree. Then I'd be deciding for all applications that the
only definition of equality was canonical XML equivalence, which isn't true
for your case, as you already noted.

What it should do is *block* the method. Maybe that's possible, but I don't
know what other effects it has.

-- Scott




Archive powered by MHonArc 2.6.16.

Top of Page