Blocking system.exit in osgi (Part III)

Hey, finally Felix is running with security also 🙂
No big changes needed.
As mentioned before the


is neede within the startup config (Equinox didn’t need this one)
The are setup only contain the
entry and the only contain this:${karaf.base}/etc/all.policy

An additional File called security.policy is also added to the etc folder, but somehow the content doesn’t seem to be parsed, even though the SecurityManager of Felix should consume this file.
Anyway here is the content I added to the file:

( java.lang.RuntimePermission "exitVM")
( "*" "*")

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.