Skip to Content.
Sympa Menu

mace-opensaml-users - Re: Bug in AbstractSAMLArtifact

Subject: OpenSAML user discussion

List archive

Re: Bug in AbstractSAMLArtifact


Chronological Thread 
  • From: Chad La Joie <>
  • To:
  • Subject: Re: Bug in AbstractSAMLArtifact
  • Date: Wed, 29 Aug 2007 06:38:02 -0400
  • Openpgp: id=A260F52E; url=http://pgpkeys.pca.dfn.de/pks/lookup?op=get&search=0x3F5E9E87A260F52E
  • Organization: Georgetown University

Fixed.


wrote:
> Hello,
>
> I think there is a bug in the class AbstractSAMLArtifact. The constructor
> of this class is "protected AbstractSAMLArtifact(byte[] code)", but there
> is no implementation. I think the "code" has to be assigned to the "private
> byte[] typeCode". If you now do a "getArtifactBytes()" you get a
> NullPointerException because it's trying to do a arraycopy of the empty
> typeCode.
>
> So all subclasses (I try using SAML2ArtifactType0004) of this class will
> not work.
>
> Regards,
> Hans Wijnsouw

--
Chad La Joie 2052-C Harris Bldg
OIS-Middleware 202.687.0124



Archive powered by MHonArc 2.6.16.

Top of Page