cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans ...@domek.be>
Subject Re: Cocoon and security (JAAS or J2EE??)
Date Tue, 21 Sep 2004 14:06:06 GMT


Bart Molenkamp wrote:
> 
> I also know that I can protect documents with that framework, but how
> can I specify that only users with a specific role can view that
> document (pipeline)? Do I need to write my own sitemap components for
> that (e.g. an action)?

Your authenticator class gets called every time a protected pipeline is 
accessed. If users need a certain role level, just check their role and 
return false if it's not sufficient.


Jorg


Mime
View raw message