Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

Java SecurityManager use


I would like to use my own custom SecurityManager which grants more permissions than RMISecurityManager. I tried setting my own SecurityManager early on in my code, long before any GS code is called. This seems to work fine, except later it seems that SpaceFinder wants to install RMISecurityManager, attempting to replace my SecurityManger. Why does it do this?

If my SecurityManager does not allow itself to be replaced, an exception is thrown and SpaceFinder will not work correctly.

Is there a way to initialize SpaceFinder (or something else in GS) so that it does NOT try to install RMISecurityManager?

Are there any rules / descriptions in the GS docs that discuss dealing with a SecurityManager?



{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=3069]{quote}

asked 2009-05-08 02:55:40 -0600

jazzbutcher gravatar image

updated 2013-08-08 09:52:00 -0600

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

Hi What exactly are you trying to achieve ?


answered 2009-05-08 03:29:00 -0600

nirpaz gravatar image
edit flag offensive delete link more


I'm running as an Eclipse RCP application (which also uses GS). I have some additional needs that are not met using the standard SecurityManager, thus, I've installed my own.

Does GS offer a way to avoid requiring the use of RMISecurityMangaer if another SecurityManager grants a superset of the RMISecurityManager privs?



jazzbutcher gravatar image jazzbutcher  ( 2009-05-08 08:32:00 -0600 )edit





shay hassidim gravatar image shay hassidim  ( 2009-05-08 08:39:25 -0600 )edit

Thanks Shay. Perfect.

jazzbutcher gravatar image jazzbutcher  ( 2009-05-08 12:52:39 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2009-05-08 02:55:40 -0600

Seen: 66 times

Last updated: May 08 '09