jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Harris" <michael.e.har...@gmail.com>
Subject Re: existing nodes in a new workspace
Date Mon, 15 Sep 2008 23:17:14 GMT
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 <jackxwu@yahoo.com> 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 <jackxwu@yahoo.com> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message