Karl Pauls wrote:
> 
> your problem is that you didn't install the framework.security
> extension.
> 

By simply installing the "Framework Security" bundle v1.4.1 (see 
http://felix.apache.org/site/downloads.cgi Felix download section ), my
permission is now correctly denied from EDT thread. So far, so good.

I gave a look at the 
https://cwiki.apache.org/confluence/display/FELIX/Apache+Felix+Framework+Security
documentation page  and it hasn't been updated since 10 jan 2010! There,
it's is stated that 3 properties should be set:

 - org.osgi.framework.security="osgi" : I didn't have to set this property
for my test to works. Is this really mandatory? What other values exist?

 - java.security.policy : this is the file where the permissions are
defined. Has you can see, I already defined this property. I suppose this
property behaves as it does in a standard Java environment, doesn't it?

 - org.osgi.framework.trust.repositories=<list of keystores> : this seems
optional...

It there an up-to-date documentation available? Do you need help to keep it
updated?


-----
Tell me something you don't know!
-- 
View this message in context: 
http://old.nabble.com/My-Permission-is-always-allowed-from-Event-Dispatching-Thread-tp30995963p31001669.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to