IIRC, Java WS will assign the AllPermissons to the jar files that is
> declared
> in it. However, jar files outside will end up without permissions.
> In OSGi you can assign permissions in runtime, but I am not sure if Felix
> has
> full security support yet.


Humn, So Felix doesn´t support what I´m trying to do?

Are you using a recent checkout or the 0.8.0 release? I recently
modified some things in this area specifically to allow for your
usecase ...

regards,

Karl

If not, then I suggest that you try to create a new Policy within
> the 'standard' bundles, which grants AllPermissions to your 'trusted
> sources'.
> I have only done stuff like that for testing, but look at [1] and [2] to
> get
> the idea.




Cheers
> Niclas
>
> [1]
>
> 
https://scm.ops4j.org/repos/ops4j/projects/hansa/tests/integration/src/test/java/org/ops4j/hansa/impl/test/HansaSecurityTest.java
>
> [2]
>
> 
https://scm.ops4j.org/repos/ops4j/projects/hansa/test-support/src/main/java/org/ops4j/hansa/testsupport/TestPolicy.java
>



--
Msc. Candidate in Computer Networks at Universidade Salvador/BA/Brazil
Measurement WG - RNP/Brazil



--
Karl Pauls
[EMAIL PROTECTED]

Reply via email to