GovernIB / projectebase

Projecte Base - JBoss 7.2 EAP & Open JDK 11
4 stars 0 forks source link

Al compilar amb profile "authBasic" requereix fitxers addicionals a ejb i back de ROLSAC #142

Closed anadal-fundaciobit closed 2 years ago

anadal-fundaciobit commented 2 years ago

Al compilar amb profile "authBasic" requereix fitxers addicionals a ejb i back de ROLSAC.

Si se compila con la autenticación básica (BASIC), hay que utilizar el profile authBasic. Pero al utilizar este profile, da problemas, y se deben realizar algunas modificaciones:

-jboss-web.xml :

<?xml version="1.0" encoding="UTF-8" ?>
<jboss-web>
                <security-domain>seycon</security-domain>
</jboss-web>

Jboss-ejb3.xml:

<?xml version="1.1" encoding="UTF-8"?>
<jboss:ejb-jar xmlns:jboss="http://www.jboss.com/xml/ns/javaee"
                  xmlns="http://java.sun.com/xml/ns/javaee"
                  xmlns:s="urn:security"
                  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-ejb3-2_0.xsd http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd"
                  version="3.1"
                  impl-version="2.0">

  <assembly-descriptor>
    <s:security>
      <ejb-name>*</ejb-name>
      <s:security-domain>seycon</s:security-domain>
    </s:security>
  </assembly-descriptor>

</jboss:ejb-jar>
anadal-fundaciobit commented 2 years ago

Solucionat.