[gpodder-devel] Authentication procedure using web services

  • From: Rakesh.Dhanya at in.bosch.com (Rakesh Dhanya (RBEI/ECV1))
  • Date: Tue, 25 Jan 2011 11:08:56 +0800

Thank you. Will surely look into these links

-----Original Message-----
From: gpodder-devel-bounces at lists.berlios.de [mailto:gpodder-devel-bounces 
at lists.berlios.de] On Behalf Of Stefan K?gl
Sent: Monday, 24. January 2011 12:56 PM
To: gpodder-devel at lists.berlios.de
Subject: Re: [gpodder-devel] Authentication procedure using web services

Hi,

Am 2011-01-24 07:50, schrieb Rakesh Dhanya (RBEI/ECV1):
> Using web services, is it possible to authenticate a user's
> credentials. I want to be logged in by default, the moment my
> customized gPodder client app is started (I intend to write a small
> client for myself). I can encrypt and store my username and password,
> but how do I reach out to the gPodder server?

gpodder.net uses HTTP Basic Authentication [1]. If you are not logged
in, it will return status code 401 for user-specific requests. You can
catch these and request the same resource again, with user credentials
included. See [1] about the correct syntax.

On [2] you will find an extension of the current authentication. It is
still listed as a draft, but should already work on the webservice.


-- Stefan



[1] http://en.wikipedia.org/wiki/Basic_access_authentication
[2] http://wiki.gpodder.org/wiki/Web_Wervices/API/Drafts
_______________________________________________
gpodder-devel mailing list
gpodder-devel at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/gpodder-devel

Other related posts: