The subject of this JIRA is kinda confusing.  IIUC, it's about enabling the Properties file realm for G3.0  rather than replacing the default geronimo-default realm.

Could someone please update the subject?

Jeff Chi

On Wed, Nov 3, 2010 at 5:08 PM, Shawn Jiang (JIRA) <> wrote:

    [ ]

Shawn Jiang resolved GERONIMO-5662.

   Resolution: Fixed

The new patch makes sense to me.  applied to trunk@ r1030363.

Thanks Viola for the patch.

> fail to replace default Security Realm
> --------------------------------------
>                 Key: GERONIMO-5662
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues)
>          Components: console
>    Affects Versions: 3.0
>         Environment: OS:Windows XP SP3
> Java Version: 1.6.0_20
> Server:Geronimo 3.0-SNAPSHOT
>            Reporter: Zhen Zhang
>            Assignee:
>            Priority: Minor
>             Fix For: 3.0
>         Attachments: G5662.patch, G5662_New.patch,
> setps to recur:
> 1. start the Geronimo server, and then open the admin console.
> 2.In security realms portlet, click on "Add new security realm" link.
> 3.Select realm name and use "test-prop-file-realm" for realm-name, and then select Properties File Realm and click on "Next" button.
> 4.Enter Users File URI (var/security/ and Groups File URI ( var/security/ and click on "Next" button.
> 5.Click on "Skip Test and Deploy" button.
> 6. Check the  realm named  "test-prop-file-realm"  should be listed in the security realms portlet.
> 7.Deploy geronimo-ldap-demo-1.1.war using plan file prop-file-realm-tester.xml and access the application at http://localhost:8080/prop-file-realm-test
> 8.Access "Protect" link to verify that the realm is functional.
> 9.Login should succeed for uid=system, pwd=manager
> 10.In Security Realms portlet,click on "edit" link next to the security realm to be edited.
> 11.Modify the properties and click on "Save" button.
> 12.The new properties should take  effect at the next time when the realm is used.

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