Re: Granting security permissions not working

2002-11-27 Thread Glenn Nielsen
In Tomcat 4.0 the URL used for the codeBase for jar files located in /WEB-INF/lib starts with "jar:file:...", your grant below starts with "file:...". Those are two different codeBases! The SecurityManager is very picky about where code comes from when granting permissions, the URL must start wit

Re: Granting security permissions not working

2002-11-20 Thread Pae Choi
resident > StratusCom Manufacturing Systems Inc. - We use information technology to > solve business problems on your plant floor. > http://stratuscom.ca > > >-Original Message- > >From: John Pelly [mailto:[EMAIL PROTECTED]] > >Sent: November 18, 2002 22:19 > >T

RE: Granting security permissions not working

2002-11-20 Thread Greg Trasuk
lto:[EMAIL PROTECTED]] >Sent: November 18, 2002 22:19 >To: 'Tomcat Users List'; 'David Wall' >Subject: RE: Granting security permissions not working > > >Thank you for your suggestions. See my comments below: > >> First, ensure you are running with t

RE: Granting security permissions not working

2002-11-19 Thread John Pelly
Thank you for your suggestions. See my comments below: > First, ensure you are running with the -security option that > turns on Tomcat > with the security manager installed. Often you need to modify the I am definitely running with the -security option. I have double-checked that it's in my st

Re: Granting security permissions not working

2002-11-18 Thread Pae Choi
I know it's not going to help you much or at all. And I am not certain what's going on with your side, but just FYI. I have tested the TC v4.1.12 with "-security." And it runs fine on the WinNT. It has many security permissions in the catalina.policy, inclduing own Web Apps, JAXM, AXIS, RMI stub d

RE: Granting security permissions not working

2002-11-18 Thread tc
Thank you for your suggestions. See my comments below: > First, ensure you are running with the -security option that > turns on Tomcat > with the security manager installed. Often you need to modify the I am definitely running with the -security option. I have double-checked that it's in my st

Re: Granting security permissions not working

2002-11-18 Thread David Wall
> I am not able to grant security permissions on individual jar files. Can > someone tell me what I'm doing wrong? > > In my policy file (CATALINA_HOME/conf/catalina.policy) I have the > following setting: > > grant codeBase "file:${catalina.home}/-" { > permission java.security.AllPermission; > };