Skip to Content.
Sympa Menu

mace-opensaml-users - Re: SAMLNameIdentifier.equals

Subject: OpenSAML user discussion

List archive

Re: SAMLNameIdentifier.equals


Chronological Thread 
  • From: Tom Scavo <>
  • To: Chad La Joie <>
  • Cc: OpenSAML <>
  • Subject: Re: SAMLNameIdentifier.equals
  • Date: Fri, 13 Jan 2006 10:39:09 -0500
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jSJXX8Ju3ajCuE0j+muyJJ0H73MWBRE77WWBVArveZEgkI1jSntKKg2jfuiKo59luiRVDg1AxNnctv5moGsUtzgJB+B8Xv3ETm0cGsRd9Jh+owKQ+WbTN+ytM+93SM8CnWR7jLo3Y4FIKlqa+Lfjt5lhlYDAXM9TrhSuRLpXZok=

On 1/13/06, Chad La Joie
<>
wrote:
> I'm not sure what unit test Tom was looking at

I have four handlers registered with SAMLNameIdentifier, one for each
SAML 1.1 format URI. (I'm primarily interested in X509SubjectName and
emailAddress.) Each has its own unit test.

> but the unit test in the OpenSAML 1.1 head branch correctly do an
> equality comparison on the string serialized format.

Well, this doesn't always work. If one nameid has no format attribute
and another nameid is explicitly set to 'unspecified', the two
elements are comparable, aren't they? (I've written an equals method
for SAMLNameIdentifier that takes this into account.)

Tom



Archive powered by MHonArc 2.6.16.

Top of Page