Skip to Content.
Sympa Menu

mace-opensaml-users - Re: SAML2ArtifactType0004

Subject: OpenSAML user discussion

List archive

Re: SAML2ArtifactType0004


Chronological Thread 
  • From: Chad La Joie <>
  • To:
  • Subject: Re: SAML2ArtifactType0004
  • Date: Wed, 20 Jun 2007 12:43:11 -0400
  • Openpgp: id=A260F52E; url=http://pgpkeys.pca.dfn.de/pks/lookup?op=get&search=0x3F5E9E87A260F52E
  • Organization: Georgetown University

Yep, you are correct, again.

Fixed in Rev 993

Jeff Brewer wrote:
> It appears as though there is an issue in the Alpha release with
> getRemainingArtifact in SAML2ArtifactType0004. The javadoc says “Gets
> the artifact bytes minus the type code.” But it seems to only be
> returning 20 bytes (I am trying to call getArtifactBytes and its
> returning 24 bytes instead of 44).
>
>
>
> Here is the current code:
>
>
>
> *public* *byte*[] getRemainingArtifact() {
>
> byte[] remainingArtifact = new byte[20];
>
>
>
> System./arraycopy/(getSourceID(), 0, remainingArtifact, 0, 20);
>
> System./arraycopy/(getMessageHandle(), 0, remainingArtifact, 0, 20);
>
>
>
> *return* remainingArtifact;
>
> }
>
>
>
> I think it should be
>
>
>
> *public* *byte*[] getRemainingArtifact() {
>
> byte[] remainingArtifact = new byte[40];
>
>
>
> System./arraycopy/(getSourceID(), 0, remainingArtifact, 0, 20);
>
> System./arraycopy/(getMessageHandle(), 0, remainingArtifact, 20,
> 20);
>
>
>
> *return* remainingArtifact;
>
> }
>
>
>

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



Archive powered by MHonArc 2.6.16.

Top of Page