cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ovidiu Predescu <ovi...@cup.hp.com>
Subject Re: [PATCH] resource: URL handling (cleaned-up code)
Date Thu, 02 Nov 2000 16:55:48 GMT
Sylvain,

The pointer you refer to describes the way the URL handling patch I posted
works. However Berin is right, a security manager class has to be implemented
in order for the code to work without having to start the JVM with special
parameters.

A pointer that describes the process of creating a security manager and how it
works can be found at:

http://developer.java.sun.com/developer/onlineTraining/Security/Fundamentals/Security.html#secSecurityManager

Regards,
Ovidiu

On Thu, 02 Nov 2000 08:55:10 +0100, Sylvain Wallez <sylvain.wallez@anyware-tech.com>
wrote:

> There is a good article about protocol handlers at the Java Developer
> Connection :
> http://developer.java.sun.com/developer/onlineTraining/protocolhandlers/
> 
> -Sylvain
> 
> Berin Loritsch a écrit :
> > 
> > ----- Original Message -----
> > From: Ovidiu Predescu <ovidiu@cup.hp.com>
> > To: Vadim Gritsenko <vgritsenko@hns.com>
> > Cc: <cocoon-dev@xml.apache.org>
> > Sent: Wednesday, November 01, 2000 7:41 PM
> > Subject: Re: [PATCH] resource: URL handling (cleaned-up code)
> > 
> > > On Tue, 31 Oct 2000 16:50:59 -0500, "Vadim Gritsenko" <vgritsenko@hns.com>
> > > wrote:
> > >
> > > > I know that WebLogic does not allow to modify system properties by
> > servlets.
> > >
> > > I think it's actually the JVM which doesn't allow this system property to
> > be
> > > changed after it started. I'm not sure how Tomcat does it, but it may be
> > > starting a JVM in a new process. But again, I didn't look at Tomcat or the
> > JVM
> > > sources so this might be inaccurate.
> > 
> > It has to do with wether a security manager was set or not.  If you are
> > using a security
> > manager (which WebLogic does by default) then you have to hack the
> > permissions
> > file to allow adding/changing certain system properties.  Otherwise, nothing
> > is required
> > (ala Tomcat default).
> 


Mime
View raw message