mace-opensaml-users - bug in constructing objects using InputStream
Subject: OpenSAML user discussion
List archive
- From: "Nick Laqua" <>
- To: <>, "Scott Cantor" <>
- Subject: bug in constructing objects using InputStream
- Date: Fri, 14 Mar 2003 10:14:46 +0100
Hi Scott,
I realized a bug which is obviously caused by a design mistake within java.
When constructing a SAMLRequest from an element, the fromDOM method is called
from the constructor of SAMLRequest. Thereby private members are initialized
correctly.
When constructing a SAMLRequest using an InputStream, the super class
SAMLObject calls the "virtual" polymorphic method fromDOM without the private
members being initialized (e.g. respondWiths).
Workaround right now is parsing explicitly and using the element constructor.
I guess this kind of problem applies to other classes too.
Cheers
Nick
---------------------------------------------------mace-opensaml-users-+
For list utilities, archives, subscribe, unsubscribe, etc. please visit the
ListProc web interface at
http://archives.internet2.edu/
---------------------------------------------------mace-opensaml-users--
- bug in constructing objects using InputStream, Nick Laqua, 03/14/2003
- RE: bug in constructing objects using InputStream, Scott Cantor, 03/14/2003
- <Possible follow-up(s)>
- RE: bug in constructing objects using InputStream, Nick Laqua, 03/14/2003
- RE: bug in constructing objects using InputStream, Scott Cantor, 03/14/2003
- RE: bug in constructing objects using InputStream, Bryan Field-Elliot, 03/14/2003
Archive powered by MHonArc 2.6.16.