cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Romayev <roma...@yahoo.com>
Subject Re: role-based access to pages and parts of pages - ideas?
Date Thu, 08 Jan 2004 16:34:27 GMT
Have you considered using portal-fw or the new portal
engine?

I am using portal-fw and authentication-fw to protect
pages (based on pattern matching) and construct the
pages out of coplets based on user/role configuration.

Cheers,
-Alex

--- H.vanderLinden@MI.unimaas.nl wrote:
> Hi,
> 
> Could anyone of you give some URLs or ideas about
> the best way to handle
> role-based access to pages and parts of pages?
> 
> I reworked the authentication-fw flow example into
> my webapp, so now I have
> some user information available in a session. I
> added the protect() function
> to all pipelines that need protection and I'm able
> to include parts of pages
> based on the role of the user.
> 
> I could of course modify protect() to check the role
> and decide whether the
> page can be accessed or not, but I feel I'm
> spreading the authorization
> information throughout the application and I'd
> prefer to keep it together.
> 
> Any ideas?
> 
> Bye,
> 
> Helma van der Linden
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail:
> users-help@cocoon.apache.org
> 


=====
Alex Romayev
Software Architect
http://www.romayev.com
romayev@yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message