[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Servlet & different authentification methods

tabbe do-not-reply at jboss.com
Mon Jan 1 10:48:17 EST 2007


Hi at all,

I have written a servlet and deployed it in an ear file which contains a jar and a war file, where I put the web.xml and the jboss-web.xml files in order to authenticate clients. This works fine whith the authentication method defined in web.xml.

Now I want the same servlet to support several authentication methods, for instance a servlet-mapping with BASIC and another with CLIENT-CERT. But web.xml only supports one login-config tag...

Do you have an idea how to solve this problem?
Do I have to deploy the servlet twice (in 2 war-archives) or is there another solution?

Thanks in advance,
Tom




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997107#3997107

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997107



More information about the jboss-user mailing list