0 Replies Latest reply on Mar 25, 2015 10:21 AM by Sebastiao Santos

    What the syntax to define org.jboss.security.mapping.providers.OptionsRoleMappingProvider

    Sebastiao Santos Newbie

      I'm trying to define a mapping like:

       

             <mapping> 

       

      <mapping-module code="org.jboss.security.mapping.providers.OptionsRoleMappingProvider" type="role"> 
      <module-option name="rolesMap">
      <properties>
      <property name="Geral" value="Geral,AdministradorIntegrador" />
      <property name="GestorAdministracaoControleInterno" value="GestorAdministracaoControleInterno,AnalistaIntegrador" />
      <property name="GestorCadastroBasico" value="GestorCadastroBasico,GestorIntegrador" />
      </properties>
      </module-option> 
      <module-option name="replaceRoles">true</module-option> 
        </mapping-module> 
      </mapping>   

       

      But the schema says that rolesMap must be as <module-option name="" value="" />

       

      How can I write a bunch of properties as value in JBoss EAP 6.3 and Wildfly 8.2 standalone-full.xml?