40 lines
1.9 KiB
XML
40 lines
1.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns:jwt-signer="http://www.mitre.org/schema/openid-connect/jwt-signer"
|
|
xsi:schemaLocation=
|
|
"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
|
|
http://www.mitre.org/schema/openid-connect/jwt-signer http://www.mitre.org/schema/openid-connect/jwt-signer/jwt-signer-1.0.xsd" >
|
|
|
|
<!-- Creates an in-memory database populated with test jdbc -->
|
|
<bean id="dataSource" class="org.mitre.jdbc.datasource.H2DataSourceFactory">
|
|
<property name="databaseName" value="connect"/>
|
|
<property name="scriptLocations" >
|
|
<list>
|
|
<!-- OpenID Connect Data model -->
|
|
<value>file:db/tables/accesstoken.sql</value>
|
|
<value>file:db/tables/address.sql</value>
|
|
<value>file:db/tables/approvedsite.sql</value>
|
|
<value>file:db/tables/authorities.sql</value>
|
|
<value>file:db/tables/clientdetails.sql</value>
|
|
<value>file:db/tables/event.sql</value>
|
|
<value>file:db/tables/granttypes.sql</value>
|
|
<value>file:db/tables/idtoken.sql</value>
|
|
<value>file:db/tables/idtokenclaims.sql</value>
|
|
<value>file:db/tables/refreshtoken.sql</value>
|
|
<value>file:db/tables/scope.sql</value>
|
|
<value>file:db/tables/userinfo.sql</value>
|
|
<value>file:db/tables/whitelistedsite.sql</value>
|
|
<!-- Preloaded data -->
|
|
<value>classpath:test-data.sql</value>
|
|
</list>
|
|
</property>
|
|
<property name="dateConversionPatterns">
|
|
<map>
|
|
<entry key="yyyy/mm/dd hh24:mi:ss" value="yyy/MM/dd HH:mm:ss" />
|
|
<entry key="yyyy-mm-dd" value="yyyy-MM-dd" />
|
|
</map>
|
|
</property>
|
|
</bean>
|
|
|
|
</beans> |