(java) BASIC and FORM based auth in the same web app
Is it possible to use both form, and basic auth in the same web app? I have a simple servlet that I would like to secure using basic auth at the same time I would like to secure the rest of the app with a standard form. Is it possible to have
more then one <login-config> section in my web.xml, one for the servlet using auth-method BASIC and one for the rest of the app using auth-method FORM ?
If this is not possible to do in the web.xml any other suggestions would be helpful ?