Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] Using OpenSAML and httpclient

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] Using OpenSAML and httpclient


Chronological Thread 
  • From: Brent Putman <>
  • To:
  • Subject: Re: [OpenSAML] Using OpenSAML and httpclient
  • Date: Thu, 05 Aug 2010 14:56:02 -0400



On 8/4/10 5:59 PM, rangeli nepal wrote:
> Hello Everybody,
>
> I am trying to implement a REST class that will send LogoutRequest.


Well, there isn't any defined SAML binding that really implements a REST
operation. Perhaps you just mean one of the standard front-channel
bindings of SAML - but those don't really align well with REST concepts
as people usually define them.


> Opensaml seems to have support for servlet container using
> BasicSAMLMessageContext, and
> HttpServletResponseAdapter.


The HttpServletRequest- and ResponseAdapters you see in openws are for
handling server-side operations, not client side. We don't have a
generalized client-side set of components utilizing something like
HttpClient.


Is it possible to it using httpclient? I
> am very encouraged to see HttpSoapClient. However I am not sure where
> to start from. Any pointer will be highly appreciated.



Yes, we have a basic SOAP client based on HttpClient, but not any sort
of REST one - primarily b/c SAML doesn't define anything vis-a-vis REST.
You'll have to clarify what you mean there.

We do have support for the standard defined SAML bindings, including the
front-channel ones: HTTP-Post, HTTP-Redirect Deflate and Artifact. See
the packages:

org.opensaml.saml2.binding.decoding
and
org.opensaml.saml2.binding.encoding.


--Brent



Archive powered by MHonArc 2.6.16.

Top of Page