From dev-return-86796-apmail-geronimo-dev-archive=geronimo.apache.org@geronimo.apache.org Tue Nov 02 11:04:21 2010 Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 28021 invoked from network); 2 Nov 2010 11:04:20 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Nov 2010 11:04:20 -0000 Received: (qmail 73886 invoked by uid 500); 2 Nov 2010 11:04:51 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 73635 invoked by uid 500); 2 Nov 2010 11:04:49 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 73415 invoked by uid 99); 2 Nov 2010 11:04:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 11:04:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 11:04:46 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA2B4QTS021655 for ; Tue, 2 Nov 2010 11:04:26 GMT Message-ID: <12847454.191581288695866541.JavaMail.jira@thor> Date: Tue, 2 Nov 2010 07:04:26 -0400 (EDT) From: "viola.lu (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-5662) fail to replace default Security Realm In-Reply-To: <2244641.71411288059982832.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GERONIMO-5662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] viola.lu updated GERONIMO-5662: ------------------------------- Attachment: G5662.patch pls review it,thanks > fail to replace default Security Realm > -------------------------------------- > > Key: GERONIMO-5662 > URL: https://issues.apache.org/jira/browse/GERONIMO-5662 > 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: viola.lu > Priority: Minor > Fix For: 3.0 > > Attachments: G5662.patch, VerifyReplaceDefaultSecurityRealm-SEC001.zip > > > 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/users.properties) and Groups File URI ( var/security/groups.properties) 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.