jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: Is possible "chroot" a jackrabbit session?
Date Fri, 19 Dec 2008 09:24:40 GMT
Hi,

On Fri, Dec 19, 2008 at 4:30 AM, Luis Gervaso <luis.gervaso@gmail.com> wrote:
> I have a tree of different websites inside a workspace
>
> i want the nodes paths come relative to a "root node" established in the
> session
>
> is it possible?

Jackrabbit doesn't support something like that, but it should be
fairly straightforward to implement in application code. Start with
session.getRootNode().getNode("/my/website/root") instead of
session.getRootNode() and make sure that you only use relative paths
(with no ".." elements) from there.

BR,

Jukka Zitting

Mime
View raw message