3 Replies Latest reply on Oct 10, 2014 4:52 AM by Qu Vad

    Undertow (Wildfly8) doesn't handle request parameters as expected

    Qu Vad Newbie

      Hi

       

      I do migration from Jboss AS7 /EAP6 to Wildfly8 and would like to ask here for any hint about undertow, why it doesn't handle request parameters as catalina does in EAP6.

       

      So, I make a request from client to url './client/boom/index.htm?i=1', it comes to an error servlet where I want to get value of parameter i

       

      httpServletRequest.getParameter("i");

       

      With EAP6 it returns 1, but with Wildfly8 it returns null. Why?

       

       

       

      Additional info. I have a security domain called 'boom' declared in jboss-web.xml

       

      <jboss-web>

          <security-domain>boom</security-domain>

          <disable-audit>true</disable-audit>

      </jboss-web>

       

      and in standalone.xml

       

      <subsystem xmlns="urn:jboss:domain:security:1.2">

          <security-domains>

              ...

              <security-domain name="boom" cache-type="default">

                  <authentication>

                                  <login-module code="com.boom.security.BoomLoginModule" flag="required"/>

                  </authentication>

              </security-domain>

          </security-domains>

      </subsystem>

       

      Auth method is declared as basic in web.xml.