0 Replies Latest reply on Mar 31, 2009 6:41 AM by ucef karmoun

    jaas configuration in jboss-web.xml?

    ucef karmoun Newbie

      Hey everybody, i am migrating an application from glassfish V2 to jboss5.0.1, eveything is working fine, but i have a little doubt: in sun-web.xml i had this piece of xml code:


      <security-role-mapping>
       <role-name>mensajes</role-name>
       <group-name>admine</group-name>
       <group-name>grabadorm</group-name>
       <group-name>grabadort</group-name>
       </security-role-mapping>
       <security-role-mapping>
       <role-name>categorias</role-name>
       <group-name>admine</group-name>
       </security-role-mapping>
       <security-role-mapping>
       <role-name>envio_directo</role-name>
       <group-name>admine</group-name>
       <group-name>grabadorm</group-name>
       <group-name>grabadort</group-name>
       </security-role-mapping>
       <security-role-mapping>
       <role-name>perfiles</role-name>
       <group-name>admine</group-name>
       </security-role-mapping>
       <security-role-mapping>
       <role-name>promotores</role-name>
       <group-name>admine</group-name>
       </security-role-mapping>
       <security-role-mapping>
       <role-name>suscriptores</role-name>
       <group-name>grabadors</group-name>
       <group-name>admine</group-name>
       <group-name>grabadort</group-name>
       </security-role-mapping>
       <security-role-mapping>
       <role-name>adming</role-name>
       <group-name>adming</group-name>
       </security-role-mapping>
       <resource-ref>
       <res-ref-name>smsact</res-ref-name>
       <jndi-name>smsact</jndi-name>
       </resource-ref>
       <class-loader delegate="true"/>
       <jsp-config>
       <property name="keepgenerated" value="true">
       <description>Keep a copy of the generated servlet class' java code.</description>
       </property>
       </jsp-config>


      should i define the same thing in jboss-web.xml, or in an other file??
      thank you in advance