LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   (java) BASIC and FORM based auth in the same web app (http://www.linuxquestions.org/questions/programming-9/java-basic-and-form-based-auth-in-the-same-web-app-242568/)

mhiggins 10-14-2004 10:07 AM

(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 ?

-Matt


All times are GMT -5. The time now is 12:52 PM.