mace-opensaml-users - Re: [OpenSAML] HTTPRedirectDeflateEncoder/Decoder
Subject: OpenSAML user discussion
List archive
- From: Chad La Joie <>
- To:
- Subject: Re: [OpenSAML] HTTPRedirectDeflateEncoder/Decoder
- Date: Tue, 02 Sep 2008 18:50:33 +0200
- Openpgp: id=146B2514
- Organization: SWITCH
That adapter is specifically for use with servlets. If you're not
working in a servlet container you need to create something else that
will implement that interface. What you use is going to depend on your
environment. You might use a library like HttpClient or something else
that your environment provides.
wrote:
> Hi,
>
> I'm trying to use opensaml-2.1 too, and I'm having some troubles using the
> binding.
> I need to send an AttributeQuery to a servlet from an Identity
> Provider(another servlet) or from an application. In opensaml-1.1 I only
> had to do something like:
>
> SAMLBinding binding =
> SAMLBindingFactory.getInstance(SAMLSOAPBinding.SOAP);
> SAMLResponse response =
> binding.send("http://www.example.com/AttributeServlet/",samlRequest);
>
> but in opensaml-2.1 I need to use a HttpServletRequestAdapter, whose need a
> javax.servlet.http.HttpServletResponse, and I don't no how can I create a
> HttpServletResponse.
> I have seen the examples tests, and I have seen that it use a
> MockHttpServletResponse to create the HttpServletResponse, but this class
> is only used for testing and not send anything to the Attribute Servlet.
> How can I send a Query using the opensaml-2.1 bindings?
>
> Thanks.
> Gines.
--
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
- Re: Re: [OpenSAML] HTTPRedirectDeflateEncoder/Decoder, ginesdt, 09/02/2008
- Re: [OpenSAML] HTTPRedirectDeflateEncoder/Decoder, Chad La Joie, 09/02/2008
- Re: [OpenSAML] HTTPRedirectDeflateEncoder/Decoder, Ginés Dólera Tormo, 09/04/2008
- Re: [OpenSAML] HTTPRedirectDeflateEncoder/Decoder, Scott Cantor, 09/04/2008
- Re: [OpenSAML] HTTPRedirectDeflateEncoder/Decoder, Ginés Dólera Tormo, 09/04/2008
- Re: [OpenSAML] HTTPRedirectDeflateEncoder/Decoder, Chad La Joie, 09/02/2008
Archive powered by MHonArc 2.6.16.