Re: Changing roles on the fly

2008-06-23 Thread Pid
Lyallex wrote: On Sat, Jun 21, 2008 at 12:41 PM, Mark Thomas <[EMAIL PROTECTED]> wrote: Johnny Kewl wrote: - Original Message - From: "Lyallex" <[EMAIL PROTECTED]> Allowing a user to add a role is simple enough. Is it? Yes. snip ... If you change web.xml, yes TC will restart. How

Re: Changing roles on the fly

2008-06-22 Thread Johnny Kewl
- Original Message - From: "Lyallex" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, June 22, 2008 11:54 PM Subject: Re: Changing roles on the fly On Sun, Jun 22, 2008 at 1:46 PM, Johnny Kewl <[EMAIL PROTECTED]> wrote: - Origi

Re: Changing roles on the fly

2008-06-22 Thread Lyallex
On Sun, Jun 22, 2008 at 1:46 PM, Johnny Kewl <[EMAIL PROTECTED]> wrote: > > - Original Message - From: "Lyallex" <[EMAIL PROTECTED]> > To: "Tomcat Users List" > Sent: Sunday, June 22, 2008 1:14 PM > Subject: Re: Changing roles on the fl

Re: Changing roles on the fly

2008-06-22 Thread Johnny Kewl
- Original Message - From: "Lyallex" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, June 22, 2008 1:14 PM Subject: Re: Changing roles on the fly On Sat, Jun 21, 2008 at 12:41 PM, Mark Thomas <[EMAIL PROTECTED]> wrote: Johnny Kewl

Re: Changing roles on the fly

2008-06-22 Thread Lyallex
On Sat, Jun 21, 2008 at 12:41 PM, Mark Thomas <[EMAIL PROTECTED]> wrote: > Johnny Kewl wrote: >> >> - Original Message - From: "Lyallex" <[EMAIL PROTECTED]> >>> >>> Allowing a user to add a role is simple enough. >> >> Is it? > > Yes. snip ... > If you change web.xml, yes TC will restart.

Re: Changing roles on the fly

2008-06-21 Thread Mark Thomas
Johnny Kewl wrote: - Original Message - From: "Lyallex" <[EMAIL PROTECTED]> Allowing a user to add a role is simple enough. Is it? Yes. I'm not so sure when does Tomcat load up the tomcat-users.xml? When it starts, for every servlet start up... I'm not sure? At Tomcat start-u

Re: Changing roles on the fly

2008-06-21 Thread Johnny Kewl
- Original Message - From: "Johnny Kewl" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Saturday, June 21, 2008 12:13 PM Subject: Re: Changing roles on the fly - Original Message - From: "Lyallex" <[EMAIL PROTECTED]> To: &q

Re: Changing roles on the fly

2008-06-21 Thread Johnny Kewl
- Original Message - From: "Lyallex" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, June 19, 2008 9:30 AM Subject: Changing roles on the fly Hello Tomcat 5.5.26 Java 1.5.0_15-b04 This question is about role based security and the dynamic a

Re: Changing roles on the fly

2008-06-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lyallex, Lyallex wrote: | The problem comes when a superuser wants to remove a role from a user | and that user may be logged in. | What I need to be able to do is to view all the currently active | sessions and log the relevant user out (by invalida

Changing roles on the fly

2008-06-19 Thread Lyallex
Hello Tomcat 5.5.26 Java 1.5.0_15-b04 This question is about role based security and the dynamic assignment/removal of roles. I have a requirement to allow an user to add or remove certain roles 'on the fly' Allowing a user to add a role is simple enough. Once they have 'clicked the button' to a