Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I use Basic HTTP Authentication using Apache+JServ?

authentication BASIC http
0
Posted

Can I use Basic HTTP Authentication using Apache+JServ?

0

Location: http://www.jguru.com/faq/view.jsp?EID=103759 Created: Jul 17, 2000 Modified: 2000-07-21 19:19:08.246 Author: Joshua Lynch (http://www.jguru.com/guru/viewbio.jsp?EID=103303) Question originally posed by Mike Reedy (http://www.jguru.com/guru/viewbio.jsp?EID=98127 I recently did this with Apache and Tomcat. Using Basic HTTP Authentication is an Apache function, so this method should work with Apache and any servlet engine. Different web servers will, of course, work differently. If you haven’t already done so, read the Apache FAQ about authentication (section G) at apache.org, especially QA G.2. Also read the Apache Week article referenced there (http://www.apacheweek.com/issues/96-10-18#userauth). These resources will give you a good idea about how Apache can be configured to restrict access to URL’s. Neither one explicitly tells you how to use authentication with servlets, so I’ll spell it out here. Use the directive to indicate to Apache that your specific servlet

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123