I'm also interested in authorization and authentication.  If your  
going to
use a application server like Glassfish, JAAS is possibility.

However, I'm trying to decide whether to use Acegi (without Spring)
or look at something like JSecurity.  Any thoughts as to which would
be a better fit with Lift?

Oliver

On 08/09/2008, at 9:24 AM, Charles F. Munat wrote:

>
> I'm building a website for a group that wants to have different levels
> of access to the site. Essentially, there will be five roles, from  
> Admin
> down to Guest, with each role having access to different parts of  
> the site.
>
> Some pages will only be accessible to users with a specific role. For
> example, the CRUD pages controlling users will only be accessible to
> those in the Admin role.
>
> On other pages, most of the page will be public, but parts of the page
> will only become visible if the user is a) logged in, and b) in the
> proper role.
>
> Blocking entire pages can obviously be done in the SiteMap with some
> sort of conditional statement.
>
> I'm guessing that the best way to handle the partial pages is with
> snippets, with the snippet displaying a blank or particular content
> depending on the user's role.
>
> But there are also other considerations. Users will have their own
> pages, so views of those pages may be limited to the particular user
> (such as a page to update one's profile), or, optionally, made  
> public by
> that user (such as a bio).
>
> Does anyone have any suggestions for the best practice for going about
> this, or an example they can show me?
>
> Thanks for any and all help. I'm slowly figuring out the SiteMap and
> menu functions and hope to put together a tutorial on that shortly.
>
> Chas.
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to