[jboss-user] [Security & JAAS/JBoss] - jaas configuration in jboss-web.xml?

BjPenn do-not-reply at jboss.com
Tue Mar 31 06:41:30 EDT 2009


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

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222295#4222295

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222295



More information about the jboss-user mailing list