[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651297#action_12651297 ]
Delos Dai commented on GERONIMODEVTOOLS-530: -------------------------------------------- Hi, For ejb, there is no getSecurityRoles in EJBJar. I found we can get security roles from assembly descriptor, instead of using getSecurityRoles as WebApp does. Attachment is a patch for this bug. Could anyone help to review it? Thanks a lot! > Faile to show EJB Security Role in security UI > ---------------------------------------------- > > Key: GERONIMODEVTOOLS-530 > URL: > https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-530 > Project: Geronimo-Devtools > Issue Type: Bug > Components: eclipse-plugin > Affects Versions: 2.1.3 > Environment: OS:Windows 2003 and Suse10 > Reporter: viola.lu > Assignee: B.J. Reed > > Steps: > 1.Create an EJB project,edit its ejb-jar.xml, append snippnet below: > <assembly-descriptor> > <security-role><role-name>content-admin</role-name></security-role> > </assembly-descriptor> > 2.Open openejb-jar.xml, click "Security" tab in deployment descriptor, but in > security role, no content display.Different from web dynamic application and > Enterpise Project's Behavior. > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.