Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 62779 invoked from network); 27 Jan 2011 17:56:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Jan 2011 17:56:54 -0000 Received: (qmail 98953 invoked by uid 500); 27 Jan 2011 17:56:51 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 98808 invoked by uid 500); 27 Jan 2011 17:56:49 -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 98797 invoked by uid 99); 27 Jan 2011 17:56:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jan 2011 17:56:48 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of beau.hutcheson@thomsonreuters.com designates 163.231.12.71 as permitted sender) Received: from [163.231.12.71] (HELO mailout4-tlr.thomson.com) (163.231.12.71) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jan 2011 17:56:41 +0000 Received: from mailout4-tlr.thomson.com (localhost.localdomain [127.0.0.1]) by mailout4-tlr.thomson.com (Switch-3.3.2/Switch-3.3.2) with ESMTP id p0RHuJh1010555 for ; Thu, 27 Jan 2011 17:56:19 GMT Received: from tlrusmneagfe04.ERF.THOMSON.COM (tlrusmneagfe04.erf.thomson.com [163.231.22.131]) by mailout4-tlr.thomson.com (Switch-3.3.2/Switch-3.3.2) with ESMTP id p0RHuHcV010502 for ; Thu, 27 Jan 2011 17:56:19 GMT Received: from TLRUSMNEAGMBX15.ERF.THOMSON.COM ([163.231.30.82]) by tlrusmneagfe04.ERF.THOMSON.COM with Microsoft SMTPSVC(6.0.3790.4675); Thu, 27 Jan 2011 11:56:18 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: Tomcat Form Authentication that requires no password for third party SSO Date: Thu, 27 Jan 2011 11:56:18 -0600 Message-ID: In-Reply-To: <4D41AE1F.8080504@hanik.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Tomcat Form Authentication that requires no password for third party SSO Thread-Index: Acu+SSXL7NWI0z4JQYG53UOhOqWHxQAAhBjg References: <4D41AE1F.8080504@hanik.com> From: To: X-OriginalArrivalTime: 27 Jan 2011 17:56:18.0061 (UTC) FILETIME=[7F785BD0:01CBBE4B] Filip: Thanks, I'll get going on my own authenticator right quick. Does tcserver come with something like this out of the box? Beau -----Original Message----- From: Filip Hanik - Dev Lists [mailto:devlists@hanik.com]=20 Sent: Thursday, January 27, 2011 12:41 PM To: Tomcat Users List Subject: Re: Tomcat Form Authentication that requires no password for third party SSO You could implement your own authenticator, extending the class org.apache.catalina.authenticator.AuthenticatorBase https://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catal ina/authenticator/AuthenticatorBase.java?view=3Dmarkup protected abstract boolean authenticate(Request request, Response=20 response, LoginConfig config) throws IOException; This would require a bit customization of Tomcat, but I would implement=20 my own class, and my own authentication scheme Filip On 01/26/2011 11:10 AM, beau.hutcheson@thomsonreuters.com wrote: > Hello: > I am trying to integrate my application with an SSO partner application. > > After successfully logging into the partner app, I will be redirected > and only provided a username to log into my tomcat Form Authentication > app. I am using a DataSourceRealm to check for both Users and User > Roles. > > Are there any suggestions as to how I can still authenticate() through > the tomcat container without providing a password? > > Thanks for your attention, > > Beau > > --------------------------------------------------------------------- > To unsubscribe, e-mail:users-unsubscribe@tomcat.apache.org > For additional commands, e-mail:users-help@tomcat.apache.org > > > =20 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org