I have written a custom cookie-based Authentication implementation. It's 
actually not that difficult. The main reason it isn't supported out of the box 
is that is that sessions are stateful. Since web queries are primarily meant to 
work with REST services (which are meant to be stateless) it did not make sense 
to provide support for state-based authentication. HTTP basic authentication is 
stateless however, so that is supported by default.
G

On Apr 4, 2011, at 2:40 PM, Pierre Jansen wrote:

> Hi all,
> 
> is there a preferred / recommended method for performing authenticated web 
> queries using the Pivot web query API's? It seems as though HTTP BasicAuth is 
> supported out of the box, though I was wondering how one would go about 
> handling a server-side session based authentication scheme. This would 
> obviously either require cookie support or some sort of automated mechanism 
> to handle URL session token parameters. I guess I could roll my own by 
> implementing the Authentication interface, though it does seem like a fairly 
> common use-case, so I'd be interested to hear whether anyone else has 
> attempted to tackle this kind of problem before.
> 
> Regards,
> 
> Pierre

Reply via email to