Hi Eric,
Where specifically are you seeing the System.getProperties() calls? I'm looking at the latest code in the 2.0 branch (soon to become 2.0.1) and everything looks good to me.
Mike
On Jul 26, 2004, at 6:35 PM, Eric Bloch wrote:
I'm walking down the task of making a product that uses httpclient run underneath a server with a java policy file.
I know httpclient makes threads and sockets and I believe I have these "under control" (will be allowed or disabled), but I've seen some code in the 2.0 code base that does
System.getProperties().getProperty("foo").
Why would you do that instead of System.getProperty("foo") (which requires only read access to the property rather than full read/write access to all properties) ?
In general, in a server with a policy file, you shouldn't ever depend on reading a property (because you might get a SecurityException). I need to either (1) catch the SecurityException or (2) use a simpler version of the code that can be enabled without giving access to all system properties.
-Eric
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]