Besides dynamic jsp/servlet content I also have some static html pages in several subdirs, which I want to publish using Jetty as httpd for a static content. Some dirs I want to restrict with basic http authentication, some not and I don't need it to interact somehow with JBoss / Jetty security mechanisms (it may though). It is completely separate static website content with some permissioning.
In short, I need something like apache authentication:
What is the best way to do this with Jetty?
in you file web.xml define the the directories you want to be secure.