Re: Restrict the use of JDK classes Tomcat 7 or 6

2013-11-20 Thread ANALIA DE PEDRO SANTAMARIA
I think it is a good > >> > aproximation of what I need, thank you very much for the advice. I > have > >> > read that it is possible to create your own Permission class, but I > >> haven't > >> > found any documentation or example. Could anybody t

Re: Restrict the use of JDK classes Tomcat 7 or 6

2013-11-20 Thread Aurélien Terrestris
ery much for the advice. I have >> > read that it is possible to create your own Permission class, but I >> haven't >> > found any documentation or example. Could anybody tell me where I can >> find >> > information about create a Permission class? >&

Re: Restrict the use of JDK classes Tomcat 7 or 6

2013-11-17 Thread ANALIA DE PEDRO SANTAMARIA
7;t > > found any documentation or example. Could anybody tell me where I can > find > > information about create a Permission class? > > > > Thank you very much. > > > > > > 2013/10/23 Caldarale, Charles R > > > >> > From: Christopher

Fwd: Restrict the use of JDK classes Tomcat 7 or 6

2013-11-12 Thread Aurélien Terrestris
;t > found any documentation or example. Could anybody tell me where I can find > information about create a Permission class? > > Thank you very much. > > > 2013/10/23 Caldarale, Charles R > >> > From: Christopher Schultz [mailto:ch...@christopherschultz.net]

Re: Restrict the use of JDK classes Tomcat 7 or 6

2013-11-11 Thread Aurélien Terrestris
;t > found any documentation or example. Could anybody tell me where I can find > information about create a Permission class? > > Thank you very much. > > > 2013/10/23 Caldarale, Charles R > >> > From: Christopher Schultz [mailto:ch...@christopherschultz.net]

Re: Restrict the use of JDK classes Tomcat 7 or 6

2013-11-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Analia, On 11/11/13, 10:25 AM, ANALIA DE PEDRO SANTAMARIA wrote: > I have been working with the Security Manager and I think it is a > good aproximation of what I need, thank you very much for the > advice. I have read that it is possible to create

Re: Restrict the use of JDK classes Tomcat 7 or 6

2013-11-11 Thread ANALIA DE PEDRO SANTAMARIA
I can find information about create a Permission class? Thank you very much. 2013/10/23 Caldarale, Charles R > > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > > Subject: Re: Restrict the use of JDK classes Tomcat 7 or 6 > > > When you say "Java cla

RE: Restrict the use of JDK classes Tomcat 7 or 6

2013-10-23 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Restrict the use of JDK classes Tomcat 7 or 6 > When you say "Java classes", are you talking about re-defining > something like java.lang.String? If so, then the servlet spec (3.0: &

Re: Restrict the use of JDK classes Tomcat 7 or 6

2013-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Analia, On 10/23/13 4:29 AM, ANALIA DE PEDRO SANTAMARIA wrote: > Thank you very much for the answers. What I'm trying to do is block > the execution of certain privileges in certain web applications > (I'm working in a security model). One way of ap

Re: Restrict the use of JDK classes Tomcat 7 or 6

2013-10-23 Thread ANALIA DE PEDRO SANTAMARIA
Thank you very much for the answers. What I'm trying to do is block the execution of certain privileges in certain web applications (I'm working in a security model). One way of approaching this is to avoid loading certain Java libraries. So what I want to do is set up Tomcat (or the Security Manag

Re: Restrict the use of JDK classes Tomcat 7 or 6

2013-10-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Analia, On 10/22/13 1:41 PM, ANALIA DE PEDRO SANTAMARIA wrote: > I'm sorry about the misunderstanding. My question isn't a homework > question. I'm working in my Final Project and I have some doubts > about Tomcat, that I need to solve in order to

Re: Restrict the use of JDK classes Tomcat 7 or 6

2013-10-22 Thread Isuru Perera
arles R wrote: > > > >> From: cjder...@gmail.com [mailto:cjder...@gmail.com] > >>> On Behalf Of chris derham > >>> Subject: Re: Restrict the use of JDK classes Tomcat 7 or 6 > >>> > >> > >> Do the mailing list rules sta

RE: Restrict the use of JDK classes Tomcat 7 or 6

2013-10-22 Thread Caldarale, Charles R
> From: ANALIA DE PEDRO SANTAMARIA [mailto:100074...@alumnos.uc3m.es] > Subject: Re: Restrict the use of JDK classes Tomcat 7 or 6 > I understand it if you can't answer my questions. Your question was already answered by Aurélien: use a SecurityManager. http://tomcat.apache.org/

Re: Restrict the use of JDK classes Tomcat 7 or 6

2013-10-22 Thread ANALIA DE PEDRO SANTAMARIA
Charles R wrote: > >> From: cjder...@gmail.com [mailto:cjder...@gmail.com] >>> On Behalf Of chris derham >>> Subject: Re: Restrict the use of JDK classes Tomcat 7 or 6 >>> >> >> Do the mailing list rules state home work questions are in or out of >>> sc

Re: Restrict the use of JDK classes Tomcat 7 or 6

2013-10-22 Thread André Warnier
Caldarale, Charles R wrote: From: cjder...@gmail.com [mailto:cjder...@gmail.com] On Behalf Of chris derham Subject: Re: Restrict the use of JDK classes Tomcat 7 or 6 Do the mailing list rules state home work questions are in or out of scope? To quote from "How To Ask Questions The Smar

RE: Restrict the use of JDK classes Tomcat 7 or 6

2013-10-22 Thread Caldarale, Charles R
> From: cjder...@gmail.com [mailto:cjder...@gmail.com] > On Behalf Of chris derham > Subject: Re: Restrict the use of JDK classes Tomcat 7 or 6 > Do the mailing list rules state home work questions are in or out of scope? To quote from "How To Ask Questions The Smart Way"

Re: Restrict the use of JDK classes Tomcat 7 or 6

2013-10-22 Thread chris derham
> 2013/10/22 ANALIA DE PEDRO SANTAMARIA <100074...@alumnos.uc3m.es>: >> Hello, >> >> I would like to know if is it possible to restrict the use of JDK classes >> in Tomcat according to a list given in another file. ¿Is it possible by >> creating a new Add-on? If it is possible, where can I find doc

Re: Restrict the use of JDK classes Tomcat 7 or 6

2013-10-22 Thread Aurélien Terrestris
You can run Tomcat with its Security Manager, then you can setup which jar has which rights have a look here : http://tomcat.apache.org/tomcat-7.0-doc/security-manager-howto.html 2013/10/22 ANALIA DE PEDRO SANTAMARIA <100074...@alumnos.uc3m.es>: > Hello, > > I would like to know if is it possibl

Restrict the use of JDK classes Tomcat 7 or 6

2013-10-22 Thread ANALIA DE PEDRO SANTAMARIA
Hello, I would like to know if is it possible to restrict the use of JDK classes in Tomcat according to a list given in another file. ¿Is it possible by creating a new Add-on? If it is possible, where can I find documentation about creating Add-ons? I have looked up and I haven't found any informa