Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 40425 invoked from network); 19 Jun 2003 12:51:54 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 19 Jun 2003 12:51:54 -0000 Received: (qmail 21447 invoked by uid 97); 19 Jun 2003 12:54:14 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 21440 invoked from network); 19 Jun 2003 12:54:13 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 19 Jun 2003 12:54:13 -0000 Received: (qmail 35917 invoked by uid 500); 19 Jun 2003 12:50:50 -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 35860 invoked from network); 19 Jun 2003 12:50:50 -0000 Received: from unknown (HELO warhawk.mpi.com) (63.244.250.133) by daedalus.apache.org with SMTP; 19 Jun 2003 12:50:50 -0000 Received: from lightning.mpi.com (lightning.mpi.com [63.244.252.11]) by warhawk.mpi.com (Switch-2.2.6/Switch-2.2.6) with ESMTP id h5JCol623627 for ; Thu, 19 Jun 2003 08:50:47 -0400 (EDT) Received: from US-VS1.corp.mpi.com (us-be2.corp.mpi.com [199.93.195.21]) by lightning.mpi.com (Switch-3.0.4/Switch-3.0.0) with ESMTP id h5JCognm016253 for ; Thu, 19 Jun 2003 08:50:49 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Problem implementing JAAS in Tomcat 4.1.2 Date: Thu, 19 Jun 2003 08:50:46 -0400 Message-ID: <9C5166762F311146951505C6790A9CF8346458@US-VS1.corp.mpi.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problem implementing JAAS in Tomcat 4.1.2 Thread-Index: AcM2AXqk4kqKfkGXSRiY0LXM1hVc+gAXvwOg From: "Shapira, Yoav" To: "Tomcat Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Howdy, Oh boy... See intermixed. >I've used this code in Weblogic 6.X without any problem. If >this could be done in Weblogic, then there is NO reason why we can't = do it Of course there is. Tomcat's configuration is different than Weblogic= 's configuration. Weblogic provides a superset of the servlet specification, not to mention a complete J2EE container. Unless "this= code", "this", and "it" in the above sentence relate directly to the servlet specification, v2.3, the above is false. >Can anyone tell me what am I doing wrong? Or perhaps point me in the right >direction. Read the JAASRealm JavaDoc for starters: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/inde= x. html Actually look at the example JAASRealm to see what attributes it takes= . Don't just assume it takes the same attribute names as the weblogic equivalent. > loginContext=3D"JAASPolicy" > callbackHandler=3D"cdmanager.security.tomcat.JAASLoginCallbackHandler"= /> This is meaningless as these are not the attributes expected by JAASRealm. >// ContainerAuthentication.java This is irrelevant as the JAASRealm is not configured correctly. Yoav Shapira This e-mail, including any attachments, is a confidential business com= munication, and may contain information that is confidential, propriet= ary and/or privileged. This e-mail is intended only for the individua= l(s) to whom it is addressed, and may not be saved, copied, printed, d= isclosed or used by anyone else. If you are not the(an) intended reci= pient, please immediately delete this e-mail from your computer system= and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org