Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 21515 invoked from network); 4 Aug 2009 01:46:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Aug 2009 01:46:05 -0000 Received: (qmail 29775 invoked by uid 500); 4 Aug 2009 01:46:06 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 29693 invoked by uid 500); 4 Aug 2009 01:46:06 -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 29682 invoked by uid 99); 4 Aug 2009 01:46:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2009 01:46:06 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [69.20.54.33] (HELO server2.livestoryboard.com) (69.20.54.33) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2009 01:45:55 +0000 Received: from c-24-5-101-46.hsd1.ca.comcast.net (c-24-5-101-46.hsd1.ca.comcast.net [24.5.101.46]) by server2.livestoryboard.com (Postfix) with ESMTP id 4CF812BEA1E for ; Mon, 3 Aug 2009 21:45:34 -0400 (EDT) Message-Id: <2D99E8DF-24D5-468F-A361-56AF19D8CA5C@koberg.com> From: Robert Koberg To: Tomcat Users List Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Subject: how to get realm name Date: Mon, 3 Aug 2009 18:45:33 -0700 X-Mailer: Apple Mail (2.935.3) X-Virus-Checked: Checked by ClamAV on apache.org Hi, I want to digest the users credentials the same way as Digest authentication: RealmBase.Digest(username + ":" + somehowGetRealm() + ":" + password, "MD5", "UTF-8"); I have been looking through the code and API, but cannot find a way to get the realm name to perform the digest. How do you get it? Or the LoginConfig? Or some non-Facade'd Standard object? thanks, -Rob --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org