Mercurial > lada > lada-server
annotate src/test/resources/test-ds.xml @ 292:49d0becf3c65
New method to get user name in authentication module.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 14 Aug 2013 16:10:05 +0200 |
parents | 177351d4cca9 |
children |
rev | line source |
---|---|
1
177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
2 <!-- This is an unmanaged datasource. It should be used for proofs of concept |
177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
3 or testing only. It uses H2, an in memory database that ships with JBoss |
177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
4 AS. --> |
177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
5 <datasources xmlns="http://www.jboss.org/ironjacamar/schema" |
177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
6 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
7 xsi:schemaLocation="http://www.jboss.org/ironjacamar/schema http://docs.jboss.org/ironjacamar/schema/datasources_1_0.xsd"> |
177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
8 <!-- The datasource is bound into JNDI at this location. We reference |
177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
9 this in META-INF/test-persistence.xml --> |
177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
10 <datasource jndi-name="java:jboss/datasources/ladaTestDS" |
177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
11 pool-name="lada-test" enabled="true" |
177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
12 use-java-context="true"> |
177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
13 <connection-url>jdbc:h2:mem:lada-test;DB_CLOSE_DELAY=-1</connection-url> |
177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
14 <driver>h2</driver> |
177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
15 <security> |
177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
16 <user-name>sa</user-name> |
177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
17 <password>sa</password> |
177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
18 </security> |
177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
19 </datasource> |
177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
20 </datasources> |
177351d4cca9
Added files from jboss-javaee6-webapp-blank-archetype
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
21 |