geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Delos Dai (JIRA)" <>
Subject [jira] Commented: (GERONIMODEVTOOLS-531) Security Setting In UI doesn't completely reflect in source mode
Date Tue, 18 Nov 2008 03:35:44 GMT


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:
>             Project: Geronimo-Devtools
>          Issue Type: Bug
>          Components: eclipse-plugin
>    Affects Versions: 2.1.3
>         Environment: OS:WIndows 2003, Suse
>            Reporter:
>            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=""
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.

View raw message