Skip to Content.
Sympa Menu

mace-opensaml-users - StorageService for SAMLArtifactMapEntry

Subject: OpenSAML user discussion

List archive

StorageService for SAMLArtifactMapEntry


Chronological Thread 
  • From: Jim Cox <>
  • To:
  • Subject: StorageService for SAMLArtifactMapEntry
  • Date: Mon, 29 Mar 2010 11:46:26 -0400
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=qp9d9tfxV0uHlD//sr2bP9A8/E5W9rnGwAMS/SVcw1roPU7A++tS4DeGvqzOip+c8X YSzDMr/KnxIYra0qtR6Vc9j6i0qhwQBJdfbjn391xwEn+KIrh3xVHgwXA3j2nDx4uq7M 5CX0OOvsaQ1a+ecqu0/IT6PMaioV7fSOdbyiU=

I am trying to implement a StorageService<String, SAMLArtifactMapEntry>
that will be passed to the constructor of BasicSAMLArtifactMap. If I
have an in-memory implementation, this works just fine. But if I try to
provide an implementation that persists SAMLArtifactMapEntry to a db,
this does not work.

The problem is that the BasicSAMLArtifactMapEntry stores the SAML
Message as a String in the serializedMessage field. There is no getter
for this field in the interface. I could cast it to a
BasicSAMLArtifactMapEntry, but that getter is package private. Without a
handle to this field, I don't see a way of re-constructing the entry.

Any recommendations?

Thanks,
Jim






Archive powered by MHonArc 2.6.16.

Top of Page