[ 
https://issues.apache.org/jira/browse/FELIX-2993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049570#comment-13049570
 ] 

Andrei Pozolotin commented on FELIX-2993:
-----------------------------------------

update from Karl:
######################

if i understand correctly you are trying to use
the security provider inside a jnlp app and I can see two options from
the top of my head:

1) don't install the security provider

2) merge the security provider with the framework jar and pass an
instance of the security provider activator as a system bundle
activator

in regard to 1) obviously, that only works if you don't need OSGi security.

in regard to 2) the security provider activator is this class:

org.apache.felix.framework.SecurityActivator

you would pass it as part of the framework activator list like in the
following host example:

http://felix.apache.org/site/apache-felix-framework-launching-and-embedding.html#ApacheFelixFrameworkLaunchingandEmbedding-hostserviceusage

again, this combined with merging the framework and the security
provider jar into on jar should get you around the issue (notice, you
don't need to install the security provider as a bundle then).

######################

> jnlp & felix.security
> ---------------------
>
>                 Key: FELIX-2993
>                 URL: https://issues.apache.org/jira/browse/FELIX-2993
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework Security
>            Reporter: Andrei Pozolotin
>
> original thread:
> http://www.mail-archive.com/[email protected]/msg10424.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to