Yeah i guess so. I want realm thing only for application 2. How can i make it available for it and at the same time i want application 1 BASIC AUTHENTICATION based on tomcat-users.xml file.
I am going throgh the page u sent but still not able to get some working solution. Need it urgent. On Feb 7, 2008 8:08 PM, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > From: alee amin [mailto:[EMAIL PROTECTED] > > Subject: Tomcat Security Problem > > > > Application 2 has form based security and for some > > enhanced security i have added the "realm" for the > > database in conf/server.xml file. > > Where in server.xml? A <Realm> element may be nested inside of an > <Engine>, <Host>, or <Context>, depending on the desired scope of the > realm. Sounds like you need to put it inside the <Context> of your > application 2, not inside the <Host> or <Engine> where you now have it. > > Doc reference: > http://tomcat.apache.org/tomcat-6.0-doc/config/realm.html > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you > received this in error, please contact the sender and delete the e-mail > and its attachments from all computers. > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Muhammad Ali http://techboard.wordpress.com Software Engineer - E2ESP muhammadaliamin(at)gmail(dot)com