4 Replies Latest reply on Apr 25, 2013 9:54 AM by juergen.zimmermann

    EAP 6.1.0.Beta1: changes in jboss-web.xml?

    juergen.zimmermann

      It looks like there are changes in jboss-web.xml after migrating from EAP 6.1.0.Alpha to 6.1.0.Beta1. Any hint is appreciated, since nobody can login into the web app any more.

       

      Declaration of the security domain in standalone.xml:

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

      <authentication>

        <login-module code="Database" flag="required">

         <module-option name="dsJndiName" value="java:jboss/datasources/...DS"/>

         <module-option name="unauthenticatedIdentity" value="..."/>

         <module-option name="principalsQuery" value="SELECT ..."/>

         <module-option name="rolesQuery" value="SELECT ..."/>

         <module-option name="hashAlgorithm" value="..."/>

         <module-option name="hashEncoding" value="..."/>

        </login-module>

      </authentication>

      </security-domain>

       

      Referencing the security domain in jboss-web.xml:

      <?xml version="1.0"?>

      <jboss-web xmlns="http://www.jboss.com/xml/ns/javaee"

                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                 xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-web_7_0.xsd"

                 version="7.0">

      <security-domain>shop</security-domain>

      </jboss-web>