Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 32051 invoked from network); 2 Feb 2007 08:41:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Feb 2007 08:41:02 -0000 Received: (qmail 2816 invoked by uid 500); 2 Feb 2007 08:40:56 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 2435 invoked by uid 500); 2 Feb 2007 08:40:55 -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 2424 invoked by uid 99); 2 Feb 2007 08:40:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Feb 2007 00:40:55 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of codeshepherd@gmail.com designates 64.233.162.224 as permitted sender) Received: from [64.233.162.224] (HELO nz-out-0506.google.com) (64.233.162.224) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Feb 2007 00:40:42 -0800 Received: by nz-out-0506.google.com with SMTP id x7so790025nzc for ; Fri, 02 Feb 2007 00:40:22 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:subject:from:reply-to:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=efzne4Zr0bJbbipOCl38kCfkjJBClqDIpds0VPAXiuNFPcvvdzUjr8S1IOtgKMAOi92ksSD/mvHbiw3W+t13iRZJ29Az4fJ7EyYkWcChw9Sn/PjScDx4o8MTcifisbkGl9546PPe+87hNh6gqbFnfUbcM1Xpj0KYvdr0KoGO4ik= Received: by 10.35.62.1 with SMTP id p1mr3090725pyk.1170405621882; Fri, 02 Feb 2007 00:40:21 -0800 (PST) Received: from ?192.168.1.101? ( [203.118.52.13]) by mx.google.com with ESMTP id n67sm4588912pyh.2007.02.02.00.40.18; Fri, 02 Feb 2007 00:40:21 -0800 (PST) Subject: RE: authentication using active directory From: Deepan Reply-To: codeshepherd@gmail.com To: David =?ISO-8859-1?Q?Rodr=EDguez_Fern=E1ndez?= Cc: 'Tomcat Users List' In-Reply-To: <200702020837.l128bJ4X016828@smtp0.chronoexpres.com> References: <200702020837.l128bJ4X016828@smtp0.chronoexpres.com> Content-Type: text/plain; charset=utf-8 Date: Fri, 02 Feb 2007 16:38:24 +0800 Message-Id: <1170405504.2325.0.camel@codeworld> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1.1 (2.8.1.1-3.fc6) Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On Fri, 2007-02-02 at 09:37 +0100, David Rodríguez Fernández wrote: > Can tomcat read the file login.html? I think this is a permissions problem. > I am using BASIC mode of authentication. It works. > -----Mensaje original----- > De: Deepan [mailto:codeshepherd@gmail.com] > Enviado el: viernes, 26 de enero de 2007 8:22 > Para: Tomcat Users List > Asunto: authentication using active directory > > Hi, > I am trying to authenticate using Active directory for one my application > in tomcat. ( I have only one application deployed in tomcat). > > I had configured server.xml and web.xml to use /gridsphere/login.html to get > details from user and authenticate using AD. When i hit the url > "localhost:8080", i get 404 error, saying "The requested resource > (/gridsphere/login.html) is not available. " > > > > > ----------------------------------------------------------- > server.xml > > > connectionURL="ldap://172.168.1.1:389" > connectionName="tomcatuser@gs.novaglobal.com.sg" > connectionPassword="xxxxxxxx" > referrals="follow" > userRoleName="member" > roleSearch="(member={0})" > roleSubtree="false" > userSubtree="true" > /> > > -------------------------------------------------------------- > > web.xml > > > > > YourWebApp > accessible by authenticated users of the > tomcat role > /* > GET > POST > PUT > DELETE > > > These roles are allowed access > tomcat > > > > > FORM > YourWebApp Protected Area > > > /gridsphere/index.html > > /gridsphere/autherr.html > > > > > Only 'tomcat' role is allowed to access this web > application > tomcat > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org