You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "viola.lu (JIRA)" <ji...@apache.org> on 2008/11/11 04:29:44 UTC

[jira] Created: (GERONIMODEVTOOLS-530) Faile to show EJB Security Role in security UI

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: Tim McConnell


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.


[jira] Updated: (GERONIMODEVTOOLS-530) Faile to show EJB Security Role in security UI

Posted by "Delos Dai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Delos Dai updated GERONIMODEVTOOLS-530:
---------------------------------------

    Attachment: 530.patch

> 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
>         Attachments: 530.patch
>
>
> 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.


[jira] Closed: (GERONIMODEVTOOLS-530) Faile to show EJB Security Role in security UI

Posted by "B.J. Reed (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

B.J. Reed closed GERONIMODEVTOOLS-530.
--------------------------------------

    Resolution: Fixed

Patch applied to 2.1.4 at r722121 and 2.2 at r722118.  Thanks to Delos Dai for supplying the patch.  Please convert tabs to 4 spaces in the future to comply with coding standards.

> 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
>             Fix For: 2.2.0, 2.1.4
>
>         Attachments: 530.patch
>
>
> 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.


[jira] Commented: (GERONIMODEVTOOLS-530) Faile to show EJB Security Role in security UI

Posted by "Delos Dai (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652291#action_12652291 ] 

Delos Dai commented on GERONIMODEVTOOLS-530:
--------------------------------------------

OK, I see. 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
>             Fix For: 2.2.0, 2.1.4
>
>         Attachments: 530.patch
>
>
> 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.


[jira] Updated: (GERONIMODEVTOOLS-530) Faile to show EJB Security Role in security UI

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods updated GERONIMODEVTOOLS-530:
------------------------------------------

       Patch Info: [Patch Available]
    Fix Version/s: 2.1.4
                   2.2.0

setting fix targets

> 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
>             Fix For: 2.2.0, 2.1.4
>
>         Attachments: 530.patch
>
>
> 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.


[jira] Assigned: (GERONIMODEVTOOLS-530) Faile to show EJB Security Role in security UI

Posted by "B.J. Reed (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

B.J. Reed reassigned GERONIMODEVTOOLS-530:
------------------------------------------

    Assignee: B.J. Reed  (was: Tim McConnell)

> 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.


[jira] Commented: (GERONIMODEVTOOLS-530) Faile to show EJB Security Role in security UI

Posted by "B.J. Reed (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12646939#action_12646939 ] 

B.J. Reed commented on GERONIMODEVTOOLS-530:
--------------------------------------------

When the security role code was added to the GUI, it looks like the author of the code realized that the EJB stuff couldn't be done the same way as the other security role codes.  I think they ran out of time before being able to complete this.  It looks like we should be able to update EjbJavaEEDeploymnetDescriptor.getSecurityRoles () and EjbJ2EEDeploymnetDescriptor.getSecurityRoles () to perform an equivalent function.  Not sure if it was intentional or not, but the effect is that this will be deferred to a release after 2.1.3.  Will provide more details when I have a little more time to look at this.

> 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.


[jira] Commented: (GERONIMODEVTOOLS-530) Faile to show EJB Security Role in security UI

Posted by "Delos Dai (JIRA)" <ji...@apache.org>.
    [ 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.