Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 31034 invoked from network); 14 Jul 2008 22:38:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jul 2008 22:38:54 -0000 Received: (qmail 73906 invoked by uid 500); 14 Jul 2008 22:38:53 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 73571 invoked by uid 500); 14 Jul 2008 22:38:52 -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 73560 invoked by uid 99); 14 Jul 2008 22:38:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 15:38:52 -0700 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; Mon, 14 Jul 2008 22:38:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C163C234C15E for ; Mon, 14 Jul 2008 15:38:31 -0700 (PDT) Message-ID: <2034542207.1216075111784.JavaMail.jira@brutus> Date: Mon, 14 Jul 2008 15:38:31 -0700 (PDT) From: "David Jencks (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Closed: (GERONIMO-4099) Calling isUserInRole wipes out run-as info In-Reply-To: <224791957.1212622425002.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-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Jencks closed GERONIMO-4099. ---------------------------------- Resolution: Fixed apparently causes no tck problems. > Calling isUserInRole wipes out run-as info > ------------------------------------------ > > Key: GERONIMO-4099 > URL: https://issues.apache.org/jira/browse/GERONIMO-4099 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: Tomcat > Affects Versions: 2.0.x, 2.1.x, 2.2 > Reporter: David Jencks > Assignee: David Jencks > Fix For: 2.1.2, 2.2 > > > TomcatGeronimoRealm.hasRole sets callers which it has no business doing. These were already set during authentication. This wipes out the run-as info which was set earlier. Checking the principal is also unrelated to role checks in geronimo and should be omitted. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.