mace-opensaml-users - RE: [OpenSAML] Read saml1 response
Subject: OpenSAML user discussion
List archive
- From: "Wang, Shengke" <>
- To: <>
- Subject: RE: [OpenSAML] Read saml1 response
- Date: Mon, 15 Dec 2008 08:36:53 -0700
Chad,
Thanks. This really answers my question.
Shengke
-----Original Message-----
From: Chad La Joie
[mailto:]
Sent: Monday, December 15, 2008 9:30 AM
To:
Subject: Re: [OpenSAML] Read saml1 response
Wang, Shengke wrote:
> 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.
Are you using the correct objec ts? There are SAML 1 and SAML 2 decoders.
If the code you have is working for SAML 2 then I would assume you're using
the SAML 2 decoders. If you want to work with SAML
1 you need to use the SAML 1 decoders. The method signatures are identical,
on purpose. So probably the only thing you have to change is your import
statement.
--
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
- Encrypt/Decrypt assertion, ivanhu, 12/13/2008
- Re: [OpenSAML] Encrypt/Decrypt assertion, Brent Putman, 12/15/2008
- Re: [OpenSAML] Encrypt/Decrypt assertion, Brent Putman, 12/15/2008
- Read saml1 response, Wang, Shengke, 12/15/2008
- Re: [OpenSAML] Read saml1 response, Chad La Joie, 12/15/2008
- Read saml1 response, Wang, Shengke, 12/15/2008
- Re: [OpenSAML] Read saml1 response, Chad La Joie, 12/15/2008
- RE: [OpenSAML] Read saml1 response, Wang, Shengke, 12/15/2008
- WSS4J with opensaml2, Wang, Shengke, 12/16/2008
- Re: [OpenSAML] WSS4J with opensaml2, Brent Putman, 12/16/2008
- RE: [OpenSAML] WSS4J with opensaml2, George Stanchev, 12/16/2008
- RE: [OpenSAML] WSS4J with opensaml2, Wang, Shengke, 12/16/2008
- RE: [OpenSAML] WSS4J with opensaml2, Scott Cantor, 12/16/2008
- Re: [OpenSAML] Read saml1 response, Chad La Joie, 12/15/2008
- Read saml1 response, Wang, Shengke, 12/15/2008
- Re: [OpenSAML] Read saml1 response, Chad La Joie, 12/15/2008
- Re: [OpenSAML] Encrypt/Decrypt assertion, Brent Putman, 12/15/2008
Archive powered by MHonArc 2.6.16.