• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Authentification approach, please help.

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello ALl:
Here is my case. I am using Apache/Tomcat for my servlet/JSP application. I plan to use a form-based authentification approach. From what I understand, for a form-based authentification, the Tomcat will automatically check the userId and Password from the HTTp request, against the userID and Password listed in the apps-xxx.xml file for my Webapplication.
What I want to do is that I want Tomcat to check the UserID and password by a password text file. How do I do it? Which file settings do I need to change and how? In other words, I want to use a servlet to do the form-based authentification check, instead of the default xml check. The reason is that I need to overwrite the UserID/Password file completely often, I do not want to modify the xml by hand, so it is much easier to process with a password text file, that is why I want to do the above.
Please help, thanks.

------------------
Sun Certified Programmer for Java Platform
 
Ranch Hand
Posts: 187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
buddy u should work with " deployment descriptor "
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic