Hello,

I'm having issue with permissions checking.

I noticed that my permission is correctly [allowed | denied] when checked
outside the AWT EDT thread, whereas it always allowed when checked within
the EDT (through invokeLater, invokeAndWait, or even button click
callbacks).

I've enclosed a fully working FELIX 3.0.8 environment along with sources.
Just execute the run.bat file and check the output on the console.

One can edit the test.policy file which is in the conf folder to either
allow or deny the DummyPermission. 

Any idea why the permission is always allowed in the EDT?

http://old.nabble.com/file/p30995963/felix3.0.8_permission_EDT_test.zip
felix3.0.8_permission_EDT_test.zip 

-----
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-tp30995963p30995963.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