[jboss-jira] [JBoss JIRA] (WFLY-400) Deployment descriptor parsing of META-INF/permissions.xml

Shane Kingston (JIRA) issues at jboss.org
Tue Dec 9 18:34:39 EST 2014


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

Shane Kingston commented on WFLY-400:
-------------------------------------

Ignore my comment above. It works in 8.2.

> Deployment descriptor parsing of META-INF/permissions.xml
> ---------------------------------------------------------
>
>                 Key: WFLY-400
>                 URL: https://issues.jboss.org/browse/WFLY-400
>             Project: WildFly
>          Issue Type: Sub-task
>          Components: Security Manager
>            Reporter: Anil Saldhana
>            Assignee: Stefan Guilhen
>             Fix For: 8.0.0.Alpha4
>
>
> EE 6.2.2.6 Permission declarations must be stored in META-INF/permissions.xml file
> within an EJB, web, or application client archive in order for them to be located
> and subsequently processed by the deployment machinery of the Java EE Product.
> The permissions for a library are the same as the permissions for the code that
> EE.6.2.2.6.2  Permission Declaration Example
> <?xml version="1.0" encoding="UTF-8"?>
> <permissions>
> <permission>
> <classname>java.io.FilePermission</classname>
> <name>/tmp/abc</name>
> <actions>read,write</actions>
> </permission>
> <permission>
> <classname>java.lang.RuntimePermission</classname>
> <name>createClassLoader</name>
> </permission>
> </permissions>
> The EE7 spec draft has a schema for permissions.xml



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the jboss-jira mailing list