DO NOT REPLY [Bug 33138] - starting tomcat (catalina) with "-security" not possible

2005-01-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33138


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-01-18 17:05 ---
Ok I took a closer look at what you are trying to do and you can't set the
Security Manager the way you are doing in, since Tomcat already configure a
security manager and the VM doesn't allow this operation. Once the security
manager is set, you can't change it.

Also, if you turn security on, the following will never be invoked:

  if (System.getSecurityManager() == null) 
 System.setSecurityManager(new RMISecurityManager());

If you want to achieve what you want, you will need to change the current
codebase  and replace the curret security manager. I will see if we can make the
SecurityManager "pluggable" easily for Tomcat.next. 


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 33138] - starting tomcat (catalina) with "-security" not possible

2005-01-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33138





--- Additional Comments From [EMAIL PROTECTED]  2005-01-17 17:39 ---
As a workaround for now, you can edit file:

${catalina.home}/conf/catalina.properties and make the following properties 
empty

package.access=
package.definition=

Some doPrivileged code are missing in the current TC 5.5.x

-- Jeanfrancois


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]