Re: Dynamic roles web.xml

2006-03-27 Thread Alessandro Colantoni
Hi Mark Just to tell that I finished my job and all work well. Thanks a lot to guide me Now I have a taglib that does for example perm:present list=1,4,21,33 all=false do your job /perm if the user in session is related with at least one role that is related with at least one of the

Re: Dynamic roles web.xml

2006-03-17 Thread Alessandro Colantoni
Hi! and good morning (but probably we 're on different continents) I don't undertand the last pos where you say. I had the impression he already had.. I don't get how posting this helps, i must have misunderstood something.. Can you explain please? Anyway thanks for accurate explication. I'll go

Re: Dynamic roles web.xml

2006-03-17 Thread Mark Lowe
On 3/17/06, Alessandro Colantoni [EMAIL PROTECTED] wrote: Hi! and good morning (but probably we 're on different continents) I don't undertand the last pos where you say. I had the impression he already had.. I don't get how posting this helps, i must have misunderstood something.. Can you

Re: Dynamic roles web.xml

2006-03-17 Thread Mark Lowe
On 3/17/06, Mark Lowe [EMAIL PROTECTED] wrote: On 3/17/06, Alessandro Colantoni [EMAIL PROTECTED] wrote: Hi! and good morning (but probably we 're on different continents) Assiming you're in italy, we're in the same country.. I don't undertand the last pos where you say. I had the

Re: Dynamic roles web.xml

2006-03-17 Thread Alessandro Colantoni
Hi! again!! Of course I'm Italian, but at moment I'm living in Spain for work, so just the same continent .! At the end I will choose the jsp solution with taglib (I'm gonna write my permission taglib now!) 'cause reference pages in database can be too much work and in some case I have permissions

Re: Dynamic roles web.xml

2006-03-17 Thread Mark Lowe
On 3/17/06, Alessandro Colantoni [EMAIL PROTECTED] wrote: Hi! again!! Of course I'm Italian, but at moment I'm living in Spain for work, so just the same continent .! At the end I will choose the jsp solution with taglib (I'm gonna write my permission taglib now!) 'cause reference pages in

Dynamic roles web.xml

2006-03-16 Thread Alessandro Colantoni
Hi all! In my application I need to define roles dynamically. I need to create and delete roles and associate them to a permissions table. I want the user authenticate with a form. The problem is that in web.xml I have to define statically the role names. This is the involved piece of my

Re: Dynamic roles web.xml

2006-03-16 Thread Mark Lowe
To my knowledge the servlet config is frozen on start up.. My guess would be that you'll need to have a general access role or roles (those that wont be deleted/modified in your database.. And then have a second level of access control in your application.. At this point it would be easier just