Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 59438 invoked from network); 1 Feb 2002 17:03:06 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 1 Feb 2002 17:03:06 -0000 Received: (qmail 12956 invoked by uid 97); 1 Feb 2002 17:02:41 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 12934 invoked by uid 97); 1 Feb 2002 17:02:40 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 12904 invoked from network); 1 Feb 2002 17:02:39 -0000 Reply-To: From: "Renato Romano" To: "Tomcat Users List" Subject: Custom Realm Implementation Date: Fri, 1 Feb 2002 18:02:16 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I'm trying to write my own Realm but have some problems... MyRealm extends JDBCRealm, overrides the authenticate method(Connection, String, String) and returns a CustomPrincipal which is My own implementation of Principal; When I try to log in, a get a "User userName successfully authenticated" message on the log, but the browser shows me a 403 error (You are not allowed ...) Any idea ? Any document showing the process in details ? Thanks Renato -- To unsubscribe: For additional commands: Troubles with the list: