Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 93593 invoked from network); 3 Dec 2008 15:34:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Dec 2008 15:34:06 -0000 Received: (qmail 4683 invoked by uid 500); 3 Dec 2008 15:34:17 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 4630 invoked by uid 500); 3 Dec 2008 15:34:16 -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 4618 invoked by uid 99); 3 Dec 2008 15:34:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2008 07:34:16 -0800 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2008 15:32:56 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 63C89234C2A3 for ; Wed, 3 Dec 2008 07:33:44 -0800 (PST) Message-ID: <989075196.1228318424396.JavaMail.jira@brutus> Date: Wed, 3 Dec 2008 07:33:44 -0800 (PST) From: "Jarek Gawor (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Resolved: (GERONIMO-4441) The assignment to variable "handler" has no effect in ConstantLoginModule.java In-Reply-To: <653784030.1228298504430.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-4441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jarek Gawor resolved GERONIMO-4441. ----------------------------------- Resolution: Fixed Fix Version/s: 2.2 2.1.4 Assignee: Jarek Gawor Patch committed to trunk (revision 722931) and branches/2.1 (revision 722932). Thanks! > The assignment to variable "handler" has no effect in ConstantLoginModule.java > ------------------------------------------------------------------------------ > > Key: GERONIMO-4441 > URL: https://issues.apache.org/jira/browse/GERONIMO-4441 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Affects Versions: 2.1.3, 2.1.4, 2.2 > Reporter: Shawn Jiang > Assignee: Jarek Gawor > Fix For: 2.1.4, 2.2 > > Attachments: GERONIMO-4441.patch > > > Seems it's a typo bug in https://svn.apache.org/repos/asf/geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/ConstantLoginModule.java > /** > * Save the userName and groupNames settings for use during commit() > */ > public void initialize(Subject subject, CallbackHandler callbackHandler, > Map sharedState, Map options) { > this.subject = subject; > this.handler = handler; > > this.userName = (String)options.get(USER_NAME); > this.groupNames = (String)options.get(GROUP_NAMES); > } > " this.handler = handler;" should be " this.handler = callbackHandler;" -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.