You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Forrest Xia (JIRA)" <ji...@apache.org> on 2013/05/27 14:35:30 UTC

[jira] [Updated] (GERONIMO-5675) Add role based navigation customization support.

     [ https://issues.apache.org/jira/browse/GERONIMO-5675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Forrest Xia updated GERONIMO-5675:
----------------------------------

    Fix Version/s:     (was: 3.0.1)
                   3.0.2
    
> Add role based navigation customization support.
> ------------------------------------------------
>
>                 Key: GERONIMO-5675
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5675
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: console
>            Reporter: Shawn Jiang
>            Assignee: Shenghao Fang
>             Fix For: 2.2.2, 3.0.2
>
>
> the target is that a geronimo user could define role based navigation tree easily without building geronimo from source code.
> User could define an external file with something like this:
> {noformat}
> role name: role 1
> navigation access pages: 
> "0/Welcome",
> "1-1-1/Application Server/System Information/Server Information",
> "1-1-2/Application Server/System Information/Java System Info",
>  "1-1-4/Application Server/System Information/Thread Pools",
> "1-8/Server/Monitoring"
> role name: role 2
> navigation access pages: 
> "0/Welcome",
> "1-1-1/Application Server/System Information/Server Information",
> "1-1-2/Application Server/System Information/Java System Info",
>  "1-1-4/Application Server/System Information/Thread Pools",
> "1-8/Server/Monitoring"
> {noformat}
> The role names must have been defined as group name in current realm.   Then, we could read this file into class[1] and filter the navigation tree according to current user's roles.
> As for the pages that are not in navigation tree, we should use a servlet filter with the same role/access page mapping to block the address bar direct access.
> [1]https://svn.apache.org/repos/asf/geronimo/server/trunk/plugins/console/console-portal-driver/src/main/java/org/apache/geronimo/console/navigation/NavigationJsonGenerator.java

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira