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: Brent Putman <>
  • To:
  • Subject: Re: [OpenSAML] Retrieve saml response from a tring
  • Date: Mon, 08 Dec 2008 17:05:29 -0500

If it's one of the standard SAML bindings: no, you don't need to do this.  The MessageDecoder implementation for that particular binding will take care of everything.  You just give it the HttpServletRequest object in the MessageContext.

If you've made up your own binding, then that won't work.  You'd need to either write you own MessageDecoder impl for your binding (that's the right way for OpenSAML 2), or just parse the string representation into a DOM and unmarshall an XMLObject tree around it.

--Brent


Wang, Shengke wrote:
Scott,

	Yes. The string representation is attached to the JSP request
and can be retrieved using the request's getParameter() method.  That is
why I have to start with a string, which was the old opensaml1
implementation. 

Shengke

-----Original Message-----
From: Scott Cantor [] 
Sent: Monday, December 08, 2008 3:24 PM
To: 
Subject: RE: [OpenSAML] Retrieve saml response from a tring

  
	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
    

You wouldn't start with a string, the string is inside a message coming
from a servlet request.

-- Scott


  



Archive powered by MHonArc 2.6.16.

Top of Page