You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nome real <we...@cienciapura.com.br> on 2002/12/27 14:20:37 UTC

Help setting permissions

Hi all,

I have the following piece of code:

<snip>

         properties = new Properties();
         properties.putAll( System.getProperties() );

</snip>

I'm running Tomcat 4.1.12 with security manager. 

I have the java.util.PropertyPermission "*", "read"  permission granted, but I have the exception:

Exception: access denied (java.util.PropertyPermission * read,write)

If I set the 'write' permission, it works, but I think I'm missing something... Is it this security permission to protect 
the System.Properties for being overwritten and not for a simple local variable ?

Thanks
Renato.



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>