Skip to Content.
Sympa Menu

mace-opensaml-users - RE: Getting Exception: There are multiple occurrences of ID value

Subject: OpenSAML user discussion

List archive

RE: Getting Exception: There are multiple occurrences of ID value


Chronological Thread 
  • From: "Gitesh Malik" <>
  • To: <>
  • Subject: RE: Getting Exception: There are multiple occurrences of ID value
  • Date: Fri, 8 Dec 2006 18:29:15 +0530

Scott, Is it the expected behavior per the SAX parser validation (per
the opensaml schema) when It raises exception with message - "There are
multiple occurrences of ID value - "#<guid>" given that there is

1. No Id tag attributes
2. Value for two different tags - ResponseId and AssertionID is same
(which per you it should never be)

I was planning to write a standalone test case that would try to pass in
the data that I get from an erroneous debug session and see if still
does fail.

Thanks,

<gitesh/>

-----Original Message-----
From: Scott Cantor
[mailto:]

Sent: Tuesday, December 05, 2006 10:36 PM
To:

Subject: RE: Getting Exception: There are multiple occurrences of ID
value

> Now the ids in response assertion xml are automatically
> generated by the openSAML code. The ids are not passed from
> outside as params.

No chance. If they weren't being set by you somehow, they wouldn't be
the
same.

> Now in a normal run the 2 ids appear to be different as found
> out from debug session on my setup. However on some occasion
> the ids are set as same and it is at that time that this
> exception ensues. Also there seems to be no external way of
> setting up/configuring that saml library that might take care of this.

I see no possible way they could be the same. Simply isn't statistically
possible. If you come up with any way for that to happen, you can report
it
as a bug, but I can't see it.

You can always generate the IDs with the ID generator class and pass the
ID
in, but I see no reason for doing that in most cases.

-- Scott




Archive powered by MHonArc 2.6.16.

Top of Page