Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 17620 invoked from network); 25 Feb 2006 21:01:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Feb 2006 21:01:17 -0000 Received: (qmail 15925 invoked by uid 500); 25 Feb 2006 21:01:02 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 15899 invoked by uid 500); 25 Feb 2006 21:01:01 -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 15888 invoked by uid 99); 25 Feb 2006 21:01:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Feb 2006 13:01:01 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [207.151.156.98] (HELO paris.ubudesign.com) (207.151.156.98) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Feb 2006 13:01:00 -0800 Received: from ubudesign (69-175-224-121.vnnyca.adelphia.net [69.175.224.121]) (authenticated bits=0) by paris.ubudesign.com (8.12.8/8.12.8) with ESMTP id k1PKlScr004928 for ; Sat, 25 Feb 2006 12:47:29 -0800 From: "Alex Jalali" To: Subject: Adding a Customized authenticator Date: Sat, 25 Feb 2006 13:00:35 -0800 Message-ID: <000001c63a4e$874c6a30$79e0af45@ubudesign> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01C63A0B.79292A30" X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcY6ToXp5eEjE6rDRHeKUGRMJaQAdQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0001_01C63A0B.79292A30 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello, I would like to extend the DigestAuthenticator class or BaseAuthenticator and use that instead of the tomcat default. I have done that but I don't know how to have it referenced in web.xml under security-constraint. Or maybe in server.xml similar to the way you can create a customized Ream and have it referenced in the server.xml as your custom realm. Is there a element I can add perhaps under security-constraint element? I like to add something like this to let tomcat know that it should use this for authentication instead.. ??? com.xxx.MyAuthenticator ??? I have this in my web.xml. MyFooRealm xxx /* GET OPTIONS POST PUT HEAD PROPFIND PROPPATCH MKCOL COPY MOVE DELETE LOCK UNLOCK xxx xxx NONE DIGEST Server Realm Authorized Users Group xxx ------=_NextPart_000_0001_01C63A0B.79292A30--