6 Replies Latest reply on Mar 3, 2016 5:50 PM by Jeremy Stallard

    Migrating from Glassfish 3 to Wildfly 9

    Jeremy Stallard Newbie

      As many others have done I'm making the jump from Glassfish 3 to Wildfly 9.  One of the issues that I'm running into though is our Authentication pieces. Does anyone know the equivalent of the Glassfish's "sun-web.xml" files "httpservlet-security-provider" value and how to configure it.

       

       

      For example we are using AuthenticRoast,

       

      My old file sun-web.xml file looks like:

      <sun-web-app httpservlet-security-provider="roast">

              <security-role-mapping>

                  <role-name>LOGIN</role-name>

                  <principal-name>LOGIN</principal-name>

                  <group-name>LOGIN</group-name>

              </security-role-mapping>

       

          <parameter-encoding default-charset="UTF-8" />

      </sun-web-app>

       

      And my old web.xml file has:

      <context-param>
          <param-name>roast.authenticator.class</param-name>
          <param-value>com.company.MyAuthenticRoastSAM</param-value>
      </context-param>

       

      The context-param never really seems to init and authentication is never attempted.  Has anyone else seen this or do you have any ideas?

       

      Thanks.