0 Replies Latest reply on Jul 13, 2015 8:10 AM by satin satin

    Mapping multiple servlet under single war to use different https bind port

    satin satin Newbie

      Hi,

       

      Wondering is it possible to map multiple servlet present under single web application to point to different bind ports? For instance, a web application's web.xml

       

           <servlet>

              <servlet-name>interface-A</servlet-name>

              <servlet-class>org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servlet-class>

          </servlet>

          <servlet-mapping> <!-- one way auth -->

              <servlet-name>rest-servlet</servlet-name>

              <url-pattern>/interface-A/*</url-pattern>

          </servlet-mapping>

       

       

          <servlet>

              <servlet-name>interface-B</servlet-name>

              <servlet-class><custom-class></servlet-class>

          </servlet>

          <servlet-mapping> <!-- Two way auth -->

              <servlet-name>interface-B</servlet-name>

              <url-pattern>/interface-B/*</url-pattern>

          </servlet-mapping>

       

       

      In JBoss, two https bind ports are defined , say 8443 with one way authentication and 9443 with two way authentication. Is it possible to configure that when a client , which is to be verified for two way authentication, sends a request, the request sent to interface-B should only get processed and not to the one sent to interface-A ?

       

      Cheers