Return-Path: X-Original-To: apmail-airavata-dev-archive@www.apache.org Delivered-To: apmail-airavata-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 44F92105F8 for ; Tue, 2 Jul 2013 02:27:51 +0000 (UTC) Received: (qmail 41201 invoked by uid 500); 2 Jul 2013 02:27:51 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 41101 invoked by uid 500); 2 Jul 2013 02:27:51 -0000 Mailing-List: contact dev-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list dev@airavata.apache.org Received: (qmail 41093 invoked by uid 99); 2 Jul 2013 02:27:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jul 2013 02:27:51 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of thejaka.amila@gmail.com designates 209.85.214.170 as permitted sender) Received: from [209.85.214.170] (HELO mail-ob0-f170.google.com) (209.85.214.170) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jul 2013 02:27:44 +0000 Received: by mail-ob0-f170.google.com with SMTP id ef5so5086144obb.29 for ; Mon, 01 Jul 2013 19:27:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=IiPq1nwGHGfQrxhiTEMzMcCX0z/g9l3a5A2SEtLNopo=; b=tmncjqbVQo+GxrU80rLo9nbQokQ1hrkJdmJg4oY/17LWLahQ5fTFbyPGNjcGmFuvgO u+GT+9tGbtyLOrWHfSvtjH6VOMdfefWUItA9TDXalSKAAXjOO4nzEhbv9aUfdwCEeNag eBqaNcY7zb7yzkPqtlRvfLaUAbEm80YA4+39t/4t/RCI/Kryu9RuZagTE2moA3RNLUyb TkVfDLBCnpGSK4xIYhny2MvHrjHjfpPILX5MSQ8lNfv0J2M3ASsileg1UpnHCzN8/n1m 2VQ9dsntqgP11X0CXMjLOThSjOHikJrMBUpsD4WDPeRJhkM1JQESvSie6HZCaxT8idhO bIeA== MIME-Version: 1.0 X-Received: by 10.60.124.69 with SMTP id mg5mr10808973oeb.104.1372732043116; Mon, 01 Jul 2013 19:27:23 -0700 (PDT) Received: by 10.76.82.135 with HTTP; Mon, 1 Jul 2013 19:27:23 -0700 (PDT) In-Reply-To: References: Date: Mon, 1 Jul 2013 22:27:23 -0400 Message-ID: Subject: Re: API to get list of users From: Amila Jayasekara To: dev@airavata.apache.org, viknesb Content-Type: multipart/alternative; boundary=047d7b5d33dacd45da04e07e155e X-Virus-Checked: Checked by ClamAV on apache.org --047d7b5d33dacd45da04e07e155e Content-Type: text/plain; charset=ISO-8859-1 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 wrote: > Hi Viknes, > > Please see some comments inline. > > > On Mon, Jul 1, 2013 at 4:19 PM, Viknes Balasubramanee 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:samindaw@gmail.com] >> Sent: Friday, June 28, 2013 4:05 PM >> To: dev@airavata.apache.org; viknesb@msn.com >> Subject: Re: API to get list of users >> >> +1 >> >> >> On Fri, Jun 28, 2013 at 11:25 AM, Viknes Balasubramanee >> 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:samindaw@gmail.com] >> > Sent: Friday, June 28, 2013 9:15 AM >> > To: dev@airavata.apache.org; viknesb@msn.com >> > 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 >> > 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**** >> > > >> > >> > > --047d7b5d33dacd45da04e07e155e--