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

[jira] Commented: (GERONIMODEVTOOLS-531) Security Setting In UI doesn't completely reflect in source mode

    [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648479#action_12648479 ] 

Delos Dai commented on GERONIMODEVTOOLS-531:
--------------------------------------------

I think current behavior works as design. Because user may add
mapping for several security realm, but each time only one security
realm can be used, user need to specify the one to be used into
the "security realm name" field of "general"
page first.


> Security Setting In UI doesn't completely reflect in source mode
> ----------------------------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-531
>                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-531
>             Project: Geronimo-Devtools
>          Issue Type: Bug
>          Components: eclipse-plugin
>    Affects Versions: 2.1.3
>         Environment: OS:WIndows 2003, Suse
>            Reporter: viola.lu
>            Assignee: Tim McConnell
>            Priority: Minor
>
> Steps:
> 1.Create a web dynamic project, append its web.xml with below snippnet
> <security-role>
>   	<role-name>content-admin</role-name>
>   </security-role>
> 2.Open geronimo-web.xml, click "Security" tab, choose Role "content-admin", add a Realm principal, choose geronimo-admin, input name "admin",domain name "admin", save it.
> 3.Go to source mode, it just append a snippnet below
> <sec:security>
>         <sec:role-mappings>
>             <sec:role role-name="content-admin">
>                 <sec:realm-principal class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal" domain-name="admin" name="admin" realm-name="geronimo-admin"/>
>             </sec:role>
>         </sec:role-mappings>
>     </sec:security>
> missing part:
> <web:security-realm-name>geronimo-admin</web:security-realm-name>
> 4.So geronimo-web.xml marks as red with error. i should manally add above missing part to make it work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.