[
https://issues.apache.org/jira/browse/BUILDR-125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mikael Amborn updated BUILDR-125:
---------------------------------
Attachment: buildr-125.patch
buildr-125_spec.patch
Patch to support adding security-role tags to application.xml. Buildfile
example:
package(:ear).security_roles << {:id=>'SecurityRole_123',
:description=>'Read only user', :name=>'coolUser'}
Patch for svn revision 997682, but should work for buildr 1.4.1 as well.
> Support J2EE/Java EE specs for the application.xml when packaging EAR files
> (i.e. <security-role>)
> --------------------------------------------------------------------------------------------------
>
> Key: BUILDR-125
> URL: https://issues.apache.org/jira/browse/BUILDR-125
> Project: Buildr
> Issue Type: New Feature
> Components: Packaging
> Affects Versions: 1.3, 1.3.1, 1.3.2, 1.3.3
> Reporter: Andrew Moore
> Fix For: Wish List
>
> Attachments: buildr-125.patch, buildr-125_spec.patch
>
>
> There needs to be some sort of way to customize the application.xml when
> packaging an ear file.
> There especially needs to be support for security roles.
> An example of this is the need for security roles. An example of the
> resulting application.xml file
> would be:
> <application id="OurCompany_EAR">
> <display-name>OurCompany</display-name>
> <module id="OurCompany_WAR">
> <web>
> <web-uri>ourcompany.war</web-uri>
> <context-root>/ourcompany</context-root>
> </web>
> </module>
> <module id="sp3-framework-ejb-jar">
> <ejb>ourcompany-ejb.jar</ejb>
> </module>
> <security-role id="OurCompanyUsers-role">
> <description>OurCompany Application Users</description>
> <role-name>OurCompanyUsers</role-name>
> </security-role>
> </display>
> </application>
> Perhaps it's best to fully support one or more of the specs:
> http://java.sun.com/xml/ns/javaee/application_5.xsd
> http://java.sun.com/xml/ns/j2ee/application_1_4.xsd
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.