Merge pull request #74 from jenmalloy/RHSSO-903

fixed RHSSO-903
This commit is contained in:
Jen Malloy 2017-03-27 13:15:12 -04:00 committed by GitHub
commit fc85dfa3fb

View file

@ -1,23 +1,25 @@
=== Database Configuration === Database Configuration
The configuration for this component lies in the `standalone.xml`, `standalone-ha.xml`, or `domain.xml` file The configuration for this component is found in the `standalone.xml`, `standalone-ha.xml`, or `domain.xml` file in your distribution. The location of this file depends on your <<fake/../../operating-mode.adoc#_operating-mode, operating mode>>.
in your distribution. The location of this file
depends on your <<fake/../../operating-mode.adoc#_operating-mode, operating mode>>.
.Database Config .Database Config
[source,xml] [source,xml]
---- ----
<spi name="connectionsJpa"> <subsystem xmlns="urn:jboss:domain:keycloak-server:1.1">
<provider name="default" enabled="true"> ...
<properties> <spi name="connectionsJpa">
<property name="dataSource" value="java:jboss/datasources/KeycloakDS"/> <provider name="default" enabled="true">
<property name="initializeEmpty" value="false"/> <properties>
<property name="migrationStrategy" value="manual"/> <property name="dataSource" value="java:jboss/datasources/KeycloakDS"/>
<property name="migrationExport" value="${jboss.home.dir}/keycloak-database-update.sql"/> <property name="initializeEmpty" value="false"/>
</properties> <property name="migrationStrategy" value="manual"/>
</provider> <property name="migrationExport" value="${jboss.home.dir}/keycloak-database-update.sql"/>
</spi> </properties>
</provider>
</spi>
...
</subsystem>
---- ----
Possible configuration options are: Possible configuration options are:
@ -55,3 +57,4 @@ schema::
Specify the database schema to use Specify the database schema to use
NOTE: These configuration switches and more are described in the link:{{book.appserver.jpa.link}}[_{{book.appserver.jpa.name}}_]. NOTE: These configuration switches and more are described in the link:{{book.appserver.jpa.link}}[_{{book.appserver.jpa.name}}_].