Hi, 

I have a special Problem I would like to solve with the SecurityManger. But
first my Problem I have: 
I have a bundle containing a third party library I have to use. This Library
does call system.Exit(?) if it looses it's connection to a corresponding
server. I know that this is really bad (actually mean) but the quickes way
of shipping around this problem is using the service wrapper and do a
restart. But this is not a nice way of doing especially this system.exit
forces a hard shutdown :(
I googled around and found that there is one solution for this, use a
security manager which disallows System.Exit. 
Now the tricky part, how do I specify a securityManager just for this bundle
preventing it from using System.Exit?

Thank you in Advance 
-- 
View this message in context: 
http://karaf.922171.n3.nabble.com/Tricky-question-about-SecurityManager-tp1628642p1628642.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to