Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 61298 invoked from network); 12 Dec 2005 00:08:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Dec 2005 00:08:22 -0000 Received: (qmail 36549 invoked by uid 500); 12 Dec 2005 00:07:47 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 35389 invoked by uid 500); 12 Dec 2005 00:07:40 -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 35171 invoked by uid 99); 12 Dec 2005 00:07:32 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Dec 2005 16:07:30 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 9B99D63A for ; Mon, 12 Dec 2005 00:04:09 +0100 (CET) Message-ID: <587059686.1134342249635.JavaMail.jira@ajax.apache.org> Date: Mon, 12 Dec 2005 00:04:09 +0100 (CET) From: "Aaron Mulder (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Resolved: (GERONIMO-1250) Console Realm Create new user results in error and gives confusing error message. In-Reply-To: <155931626.1133357790397.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GERONIMO-1250?page=all ] Aaron Mulder resolved GERONIMO-1250: ------------------------------------ Resolution: Fixed Patch applied -- thanks! > Console Realm Create new user results in error and gives confusing error message. > --------------------------------------------------------------------------------- > > Key: GERONIMO-1250 > URL: http://issues.apache.org/jira/browse/GERONIMO-1250 > Project: Geronimo > Type: Bug > Components: console > Environment: All > Reporter: Rick McGuire > Assignee: Aaron Mulder > Priority: Minor > Fix For: 1.0 > Attachments: GERONIMO-1250-fixmessage.patch, GERONIMO-1250.patch > > The default "out-of-the-box" configuration uses the PropertiesLoginModule, which doesn't support adding additional userids and groups. However, the Console Realm portlet supports Create New User and Create New Group as options. If you try to create either a new group or user, you get an error that the "ERROR: User already exists". The user does not already exist, so the error doesn't really make sense. This operation is failing because the PropertiesLoginModuleManager is throwing an exception because it doesn't support updates, not because this is a duplicate name. The portlet is just catching all exceptions and reporting this as a duplicate name error. It would be nice to make this a little more granular. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira