Skip to Content.
Sympa Menu

mace-opensaml-users - Read saml1 response

Subject: OpenSAML user discussion

List archive

Read saml1 response


Chronological Thread 
  • From: "Wang, Shengke" <>
  • To: <>
  • Subject: Read saml1 response
  • Date: Mon, 15 Dec 2008 08:26:20 -0700

Chad,

First I was simply using the reply to send a message to the group. I
thought I had changed the title but it still showed a reply. I appolagize for
that.
Second, I was not saying that the official documentation but I was
pointed out that opensaml2 implementation should be able to handle an SAML1
XML
Documentation.
An finally you are right about what I was asking. I will use the code
example below:
***********************************************************
HTTPPostDecoder decode = new HTTPPostDecoder( new
BasicParserPool() );
HttpServletRequestAdapter adapter = new
HttpServletRequestAdapter(request);
BasicSAMLMessageContext context = new BasicSAMLMessageContext();
context.setInboundMessageTransport(adapter);
decode.decode(context);
************************************************************
This works fine with a saml2 XML response but cannot decode a SAML1
XML response. I tried to set the protocol for saml1 but it did not work. I
would appreciate if you can help me.

Shengke

-----Original Message-----
From: Chad La Joie
[mailto:]

Sent: Monday, December 15, 2008 9:15 AM
To:

Subject: Re: [OpenSAML] Read saml1 response

First, I don't see how this has anything to do with the message to which you
replied.

Second, none four documentation should say that. OpenSAML 2 will work with
valud SAML 1 but it is not compatible with OpenSAML 1.

Finally, what do you mean by decoding? if you're talking about creating the
Java objects that represent the XML that's unmarshalling and it's documented
on the opensaml site. Decoding is the process of pulling the message off of
some stream-based transport. Is that what you're trying to do?

Wang, Shengke wrote:
> Some documents say that oepnsaml2 is comtatible with opensaml1 that
> the when properly setup the MessageContext should be able to decode a
> SAMLResponse from opensmal1. But I have not been able to get it to
> work. Can someone give me a hint? Thanks.
>
> Shengke

--
SWITCH
Serving Swiss Universities
--------------------------
Chad La Joie, Software Engineer, Net Services Werdstrasse 2, P.O. Box, 8021
Zürich, Switzerland phone +41 44 268 15 75, fax +41 44 268 15 68
,
http://www.switch.ch




Archive powered by MHonArc 2.6.16.

Top of Page