J Marshall wrote:
When I set the RMISecurity manager with if
(System.getSecurityManager() == null)
System.setSecurityManager ( new RMISecurityManager() );
in my portlet, it seems to cause problems with the overall security
manager. When I use the admin user, and call my portlet, the admin
user seems to loose admin features -- the "Jetspeed Administrative
portlet" link disappears.
What is the proper way to use RMI clients in a portal? I use RMI
extensivly in Jetspeed1 and I am starting the migration process to
Jetspeed2
Yes, we have our own security policy hooked into the default security
manager, and this will step on it if you call it later on.
I recommend re-adding our security policy after setting your manager,
something like here:
http://java.sun.com/j2se/1.4.2/docs/api/java/security/Policy.html#setPolicy(java.security.Policy)
I am planning on working on a solution to allow for the security
configuration to be strictly based on security constraints, not a
mixture of constraints + permissions
Once this option is available, you can safely configure out our policy
via the Spring configuration
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]