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