Skip to Content.
Sympa Menu

mace-opensaml-users - RE: [OpenSAML] Retrieve saml response from a tring

Subject: OpenSAML user discussion

List archive

RE: [OpenSAML] Retrieve saml response from a tring


Chronological Thread 
  • From: "Wang, Shengke" <>
  • To: <>
  • Subject: RE: [OpenSAML] Retrieve saml response from a tring
  • Date: Mon, 8 Dec 2008 15:08:05 -0600

Scott,

Thanks for your help. I have seen examples of using the
MessageContext for transportation and it is much easier. But I could not
find anything to start with a string. There is a method, however,
"processElementContent(XMLObject xmlObject,String elementContent)" in
the unmarshall tree that I can try. Thanks for the hint.

Shengke

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

Sent: Monday, December 08, 2008 2:55 PM
To:

Subject: RE: [OpenSAML] Retrieve saml response from a tring

> I am currently converting saml1 to saml2 for our SSO
implementation.
> In the saml1 implementation our client sends a string ( from the byte
> stream output of the SAMLResponse's toStream() method) through post.
> How can I use this string to extract the Response, now that
> SAMLResponse is not available anymore? Thanks.

You would use the unmarshalling APIs, which are documented in the wiki,
but if you're processing a binding message, there should be message
decoders that do all that work. I have no idea what if any of that is
documented, and there are probably notes in the list archive on it.

-- Scott





Archive powered by MHonArc 2.6.16.

Top of Page