Thanks Aaron,

I put a security constraint that grant access only to user whose
username is "guest" and it works as I expected.

Regards,
Enrique


> -----Mensaje original-----
> De: Aaron Evans [mailto:[EMAIL PROTECTED]
> Enviado el: jueves, 06 de julio de 2006 14:38
> Para: Jetspeed Users List
> Asunto: Re: Menus and directory structure
> 
> On 7/6/06, Enrique Perez <[EMAIL PROTECTED]> wrote:
> > Hi Randy!
> > ...
> > 2) Granting access to "page1.psml" only to "not-logged" users (by
> > defining a security constraint with the username of not-logged
user), no
> > matter how the pages are named.
> >
> > Personally, I'm keen on #2 but I don't know which username is
assigned
> > by J2 for "not-logged" users.
> >
> 
> Use WEB-INF/pages/_user/guest.  If you put page1.psml in there and put
> a page1.psml in WEB-INF/pages, then whenever a non-logged-in user
> accesses /page1.psml, then they will get the version under the guest
> directory. Otherwise, they will get the one under the pages root.  You
> can then have role or user specific ones by placing another version of
> page1.psml in the appropriate places in the directory structure.
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to