abdera-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James M Snell <jasn...@gmail.com>
Subject Re: How to configure AbderaClient to *not* use an Authentication Scheme?
Date Mon, 17 Sep 2007 15:14:04 GMT
Herbert, here's the answer I got back from the Activities folks.

Unfortunately, CommonsClient (AbderaClient in 0.3.0) does not expose a
method for setting cookies manually like this.  It will retain cookies
that are returned by the server, however, so if you use Abdera to
authenticate and get a LTPA cookie back, it should be automatically reused.

- James

-------- Original Message --------
From: 	Andy Myers <--->


The Notes 8 Activities sideshelf can use either basic authentication or
an LTPA token. Underlying the implementation is the Apache HttpClient,
and the only code change is to use

_http.getState().setCredentials(AuthScope.ANY,  new
UsernamePasswordCredentials(userName, userPassword));

in one case, and


in the other. I am not sure how this maps to the CommonsClient used by
Abdera, but I guess it should be pretty similar.


herbert wrote:
> Hi James!
> James M Snell wrote:
>> Hey Herbert, I forwarded the note on to one of the Connections
>> developers that has experience using Abdera as a client.  She should be
>> getting back to you soon.
> This would be great! Thanks!

View raw message