On Mon, Apr 4, 2011 at 9:24 PM, Greg Brown <[email protected]> wrote:
> I have written a custom cookie-based Authentication implementation. It's > actually not that difficult. Thanks, I'll give that a try. Were you able to do that using the Pivot web API's alone or did you need to use something like Apache HttpClient (not sure if it would be play well with the Pivot API's)? 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. > We're actually creating a desktop client for one of our web apps running on a LAMP stack. Most PHP frameworks (or at least the ones we're using) don't natively support BasicAuth, which is why we'd prefer a session-based approach.
