Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 33403 invoked from network); 3 Aug 2006 14:39:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Aug 2006 14:39:14 -0000 Received: (qmail 33678 invoked by uid 500); 3 Aug 2006 14:39:11 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 33638 invoked by uid 500); 3 Aug 2006 14:39:11 -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 33627 invoked by uid 99); 3 Aug 2006 14:39:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 07:39:11 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ammulder@gmail.com designates 64.233.184.228 as permitted sender) Received: from [64.233.184.228] (HELO wr-out-0506.google.com) (64.233.184.228) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 07:39:11 -0700 Received: by wr-out-0506.google.com with SMTP id i2so479610wra for ; Thu, 03 Aug 2006 07:38:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=CLdZSAVWtcV+wzVo/X/WmLKJzM0zezqLSrMBpNtEV0h01KaMIxwMDrU8seOQt+PaLyTjrkY5j4Y8Nzm/GgYl5nMscaz2oulrkoT12c+lKbqogTynkuK5kb/nUENrPeumi5uuZmsr3Lrhxpf9XpJNJ7GVsSZcFEir5PGRUp8wywA= Received: by 10.78.203.15 with SMTP id a15mr741072hug; Thu, 03 Aug 2006 07:38:49 -0700 (PDT) Received: by 10.78.196.5 with HTTP; Thu, 3 Aug 2006 07:38:49 -0700 (PDT) Message-ID: <74e15baa0608030738g15c9479dybe6bd42ec611acd@mail.gmail.com> Date: Thu, 3 Aug 2006 10:38:49 -0400 From: "Aaron Mulder" Sender: ammulder@gmail.com To: dev@geronimo.apache.org Subject: Re: Problem using Custom Security Realm with MyLoginModule and MyPrincipal In-Reply-To: <22d56c4d0608030735vd197e93t177f6911d2941ee7@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <22d56c4d0608030735vd197e93t177f6911d2941ee7@mail.gmail.com> X-Google-Sender-Auth: 3abf665c1cbf79d3 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Does the environment for your web app list a dependency on the security realm? Thanks, Aaron On 8/3/06, Vamsavardhana Reddy wrote: > Hi, > > I have deployed a Custom Security Realm using MyLoginModule and MyPrincipal > classes. I have configured a simple web application to authenticate against > this realm. Even though the login succeeds, I am getting an HTTP 403 > Forbidden error. But everything works fine if I change MyLoginModule to use > org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal > instead of MyPrincipal and change the deployment plan for my web app > accordingly. I guess this has to do something with the class loaders. > > Any ideas on what is happening and how to fix this? > > Thanks, > Vamsi > > >