[jboss-jira] [JBoss JIRA] (WFCORE-3147) Getting org.osgi.framework.AdminPermission check failed with security manager

Girish Pathak (JIRA) issues at jboss.org
Mon Sep 4 10:38:00 EDT 2017


    [ https://issues.jboss.org/browse/WFCORE-3147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13458285#comment-13458285 ] 

Girish Pathak commented on WFCORE-3147:
---------------------------------------

Hi Tomaz  , Thanks for your comment , but still I am not  understanding how it is related to deployment issue could please little brief this ? it will be very helpful for me.

> Getting org.osgi.framework.AdminPermission check failed with security manager
> -----------------------------------------------------------------------------
>
>                 Key: WFCORE-3147
>                 URL: https://issues.jboss.org/browse/WFCORE-3147
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Security
>    Affects Versions: 3.0.0.Beta30
>            Reporter: Martin Choma
>            Priority: Trivial
>         Attachments: sampleApp.war, sampleAppModified.war, standalone.xml
>
>
> Despite permission is granted in standalone.xml
> {code}
>     <minimum-set>   
>         <permission class="org.osgi.framework.AdminPermission" name="(id=0)" actions="context"/>   
>     </minimum-set>  
> {code}
> During deployment there is exception 
> {code}
> java.security.AccessControlException: WFSM000001: Permission check failed (permission "("org.osgi.framework.AdminPermission" "(id=0)" "context")" in code source "(vfs:/content/myapp.war/WEB-INF/lib/org.eclipse.equinox.servletbridge_1.2.100.v20120209-2014.jar
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list