Hi folks,
I am trying to configure my maven project with the jboss-as-maven-plugin.
I have already sucessfully configured a datasource MySqlDS with the plugin:
However, when I have tried to configure a security domain (@see configuration below), I have got a deployment error in jboss.
<!-- Add a Security domain-->
<execution>
<id>add-security-domain</id>
<phase>install</phase>
<configuration>
<address>subsystem=security</address>
<force>true</force>
<resources>
<resource>
<address>security-domain=MySecurityDomain</address>
<enableResource>true</enableResource>
<properties>
<cache-type>default</cache-type>
</properties>
<resources>
<resource>
<address>authentication=[{"code"=>"Database","flag"=>"required","module-options"=>[("dsJndiName"=>"java:jboss/datasources/MySqlDS"),("principalsQuery"=>"select password from app_users where ACTIVE=1 AND EMAIL=?"),("rolesQuery"=>"select group_name, 'Roles' from app_users where EMAIL = ?")]}]</address>
</resource>
</resources>
</resource>
</resources>
</configuration>
<goals>
<goal>add-resource</goal>
</goals>
</execution>
I am wondering what is wrong in my configuration, but I have not figured out.
Please can you be of any help ?
Thanks a lot in advance.
What does the error say?
--
James R. Perkins