From users-return-196139-apmail-tomcat-users-archive=tomcat.apache.org@tomcat.apache.org Wed May 13 13:18:05 2009 Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 60113 invoked from network); 13 May 2009 13:18:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 May 2009 13:18:02 -0000 Received: (qmail 61632 invoked by uid 500); 13 May 2009 13:17:57 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 61604 invoked by uid 500); 13 May 2009 13:17:57 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 61593 invoked by uid 99); 13 May 2009 13:17:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 May 2009 13:17:57 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dhoffer6@gmail.com designates 209.85.128.187 as permitted sender) Received: from [209.85.128.187] (HELO fk-out-0910.google.com) (209.85.128.187) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 May 2009 13:17:49 +0000 Received: by fk-out-0910.google.com with SMTP id f40so277320fka.0 for ; Wed, 13 May 2009 06:17:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=rKQNYUKfpo+6851lGFOi2arn0/jzd2xrPT0j6K7cVLw=; b=c1+N1JB4NXHMQEJT6i577Vnp5TfJahyYWsvztd6bl68okO1RLj5pKwXQCoAO4JbUe5 QXU58ceFwMjMW/+X57wkghXOgUQB7BpZC9Pphjf0dAzaVYwXNEgzO1Odon81+VCU/gCb Ef5ak+Qh5NGCW0LBpRP31ZsfK/LVIJYnei+Mc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=gjTu7Hw2zPgXUzNDEBfcZG7y9ewaK5McgNMQyfziXgllDkzga/DgO2qwaWLt0ky08E jZWQa/pQUni3jnvY4B29nta7LkXaM596Clnjk2tpwMB2uFTXMlD8L8gB0t6LAn/eQfKv 6NN5K+fAl/EDJUXSAf71YV+g4EveAHZHEAA2s= MIME-Version: 1.0 Received: by 10.223.117.14 with SMTP id o14mr806217faq.21.1242220647879; Wed, 13 May 2009 06:17:27 -0700 (PDT) In-Reply-To: <0AAE5AB84B013E45A7B61CB66943C17228D90C463D@USEA-EXCH7.na.uis.unisys.com> References: <4A08A3EA.1060503@pidster.com> <0AAE5AB84B013E45A7B61CB66943C17228D87E8662@USEA-EXCH7.na.uis.unisys.com> <4A09A3E4.2000408@christopherschultz.net> <0AAE5AB84B013E45A7B61CB66943C17228D90C463D@USEA-EXCH7.na.uis.unisys.com> Date: Wed, 13 May 2009 07:17:27 -0600 Message-ID: Subject: Re: How to configure Tomcat 6.0 with JAAS? From: David Hoffer To: Tomcat Users List Content-Type: multipart/alternative; boundary=001636c5bab3731eb90469cb08c6 X-Virus-Checked: Checked by ClamAV on apache.org --001636c5bab3731eb90469cb08c6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Thanks, if possible could you/someone send some examples of how to configure JAAS with JBoss? I have it working with Tomcat but need the minimum configuration to do the same for JBoss. Note, I have a servlet that at startup sets the JAAS configuration, i.e. Configuration.setConfiguration(configuration) which sets the LoginModule to use. I just need to know how to configure JBoss to work with this LoginModule. -Dave On Tue, May 12, 2009 at 10:56 AM, Caldarale, Charles R < Chuck.Caldarale@unisys.com> wrote: > > From: Christopher Schultz [mailto:chris@christopherschultz.net] > > Subject: Re: How to configure Tomcat 6.0 with JAAS? > > > > ... though JBoss uses Tomcat as its default servlet container > > Unfortunately, JBoss does not use Tomcat's authentication - it has its own. > When we wrote JAAS modules for use on our proprietary OS, we had to do > separate implemenations for JBoss and Tomcat. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > > > --001636c5bab3731eb90469cb08c6--