Hi Viknes,

I am sorry, I was under the impression you are using AiravataAPI. But seems
you are using the registry api. Therefore +1 for creating UserRegistry and
adding user related methods.

Thanks
Amila


On Mon, Jul 1, 2013 at 8:35 PM, Amila Jayasekara <[email protected]>wrote:

> Hi Viknes,
>
> Please see some comments inline.
>
>
> On Mon, Jul 1, 2013 at 4:19 PM, Viknes Balasubramanee <[email protected]>wrote:
>
>> To add these new methods, I would like to create a new API in the registry
>> called as UserRegistry and have all user related operations available
>> through it.
>>
>
> There is already an interface
> called org.apache.airavata.client.api.UserManager.
> Please add your methods to that.
>
>
>>
>> Opinions pls?
>>
>> Also after a user has authenticated himself using basic authentication, I
>> see a cookie is set and it can be used for further requests. Is there a
>> logout method that would clear a user's session and the cookie? If not, I
>> would like to add it to the new API as well.
>>
>
> There isnt a logout method. Please go a head and implement it.
>
> Thanks
> Amila
>
>
>>
>> Thanks
>> Viknes
>>
>> -----Original Message-----
>> From: Saminda Wijeratne [mailto:[email protected]]
>> Sent: Friday, June 28, 2013 4:05 PM
>> To: [email protected]; [email protected]
>> Subject: Re: API to get list of users
>>
>> +1
>>
>>
>> On Fri, Jun 28, 2013 at 11:25 AM, Viknes Balasubramanee
>> <[email protected]>wrote:
>>
>> > I don't have a list right now. I can take this up on me, work on it
>> > and submit a patch if that's ok.
>> >
>> > Thanks
>> > Viknes
>> >
>> > -----Original Message-----
>> > From: Saminda Wijeratne [mailto:[email protected]]
>> > Sent: Friday, June 28, 2013 9:15 AM
>> > To: [email protected]; [email protected]
>> > Subject: Re: API to get list of users
>> >
>> > We don't. User management functions are never focused upon in the API
>> > so far. Can you sort of list the functions you need for users in the
>> > API? We can workout to add them in the 0.9 release API.
>> >
>> >
>> > On Thu, Jun 27, 2013 at 4:28 PM, Viknes Balasubramanee
>> > <[email protected]>wrote:
>> >
>> > > Hi,****
>> > >
>> > > ** **
>> > >
>> > > I was wondering if there is an API (REST) to get a list of all users
>> > > in the database. This is required for the admin monitoring dashboard
>> > > that I am developing and I want an admin user to be able to look at
>> > > the list of users in the system.****
>> > >
>> > > ** **
>> > >
>> > > Thanks****
>> > >
>> > > Viknes****
>> > >
>> >
>>
>
>

Reply via email to