0 Replies Latest reply on Jan 1, 2007 10:48 AM by tabbe

    Servlet & different authentification methods

    tabbe

      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