Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 32199 invoked from network); 15 Sep 2008 23:17:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Sep 2008 23:17:48 -0000 Received: (qmail 46484 invoked by uid 500); 15 Sep 2008 23:17:44 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 46465 invoked by uid 500); 15 Sep 2008 23:17:44 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 46454 invoked by uid 99); 15 Sep 2008 23:17:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2008 16:17:44 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of michael.e.harris@gmail.com designates 66.249.92.172 as permitted sender) Received: from [66.249.92.172] (HELO ug-out-1314.google.com) (66.249.92.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2008 23:16:43 +0000 Received: by ug-out-1314.google.com with SMTP id y2so1034135uge.18 for ; Mon, 15 Sep 2008 16:17:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=lBCinCPI8ju+8dQ5QHekAbWvfVOg9Ppd037T1xavN+I=; b=iEma+bo/bFSqTll1oft+A8we0RuuuRNWEbLQlI1pAS2zYHDQNTlzr20o4F595LNa4t d3zFCfRDwm8esegJ3IZsjiSVlexdLmxhCxddbxQAzhBi5kVb+gQWX3O4YfIDVMs3CILs X+yzCcMF8EjqRpM8ABgSIZisXEk6LCt4fj4HE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=umIHb+cUB5ARfDUBYCPbPxlV9V+nRJ8eUYkySHQvwSopIM86YsDGoa1bp/labM3Zrj ZYzm8aFs/Chhx303toljwDLUxuEzVUHG3wL98rEGTSreYCUxzfYlY65onk9zrK4RDjF+ VPzCfYUTjDjgFFtrnhdvLbLN/SOCsf9J3bQcQ= Received: by 10.103.24.11 with SMTP id b11mr150814muj.98.1221520634709; Mon, 15 Sep 2008 16:17:14 -0700 (PDT) Received: by 10.103.243.15 with HTTP; Mon, 15 Sep 2008 16:17:14 -0700 (PDT) Message-ID: <82670ba40809151617x56e1960dm4de987cf50847d59@mail.gmail.com> Date: Mon, 15 Sep 2008 19:17:14 -0400 From: "Michael Harris" To: users@jackrabbit.apache.org Subject: Re: existing nodes in a new workspace In-Reply-To: <19502181.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_19797_16404903.1221520634702" References: <19501641.post@talk.nabble.com> <82670ba40809151503l7720d7abx2d4fde0c0e98468d@mail.gmail.com> <19502181.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_19797_16404903.1221520634702 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline right its not the SimpleCredential instance, but the workspace name you pass to the login method. Have you specified your new workspace name? I dont have the api in front of me so i can't check exactly where it is... On Mon, Sep 15, 2008 at 6:15 PM, jack wu wrote: > > i am logging in using the same userid and password all the time. but i > don't > think that's a problem. on the workspace class there is a API called > getAccessibleWorkspaceNames which returns all the accessible workspaces to > this user. this means a workspace is not tied to a particular user. > > and the spec says: > "In order to access one of the listed workspaces, the > user performs another Repository.login, specifying > the name of the desired workspace, and receives a > new Session object." > > so it is the name of the workspace that matters, not the credentials. > > jack. > > > shrndegruv wrote: > > > > how are you logging in? I believe you specify the workspace you want > when > > you log in; if you created a new workspace but are using your old creds > > you > > will see the default workspace.... > > > > On Mon, Sep 15, 2008 at 5:34 PM, jack wu wrote: > > > >> > >> i have been working with my default workspace, so there are many nodes > in > >> it > >> already. now i create a new workspace and when i log on, i see all the > >> same > >> nodes in this new workspace. is it right? when a new workspace is just > >> initialized, should be it empty? Thanks. > >> > >> jack. > >> -- > >> View this message in context: > >> > http://www.nabble.com/existing-nodes-in-a-new-workspace-tp19501641p19501641.html > >> Sent from the Jackrabbit - Users mailing list archive at Nabble.com. > >> > >> > > > > > > -- > > --------------------- > > Michael Harris > > > > > > -- > View this message in context: > http://www.nabble.com/existing-nodes-in-a-new-workspace-tp19501641p19502181.html > Sent from the Jackrabbit - Users mailing list archive at Nabble.com. > > -- --------------------- Michael Harris ------=_Part_19797_16404903.1221520634702--