Merge pull request #16 from ssilvert/patch-1

KEYCLOAK-3878: Fix doc for Mongo
This commit is contained in:
Stian Thorgersen 2016-11-11 08:59:00 +01:00 committed by GitHub
commit f8350eb0d9

View file

@ -28,6 +28,10 @@ to use Mongo.
<spi name="user"> <spi name="user">
<default-provider>jpa</default-provider> <default-provider>jpa</default-provider>
</spi> </spi>
<spi name="userFederatedStorage">
<default-provider>jpa</default-provider>
<provider name="jpa" enabled="true"/>
</spi>
<spi name="userSessionPersister"> <spi name="userSessionPersister">
<default-provider>jpa</default-provider> <default-provider>jpa</default-provider>
</spi> </spi>
@ -55,6 +59,10 @@ Change that XML snippet to use Mongo:
<spi name="user"> <spi name="user">
<default-provider>mongo</default-provider> <default-provider>mongo</default-provider>
</spi> </spi>
<spi name="userFederatedStorage">
<default-provider>mongo</default-provider>-->
<provider name="mongo" enabled="true"/>
</spi>
<spi name="userSessionPersister"> <spi name="userSessionPersister">
<default-provider>mongo</default-provider> <default-provider>mongo</default-provider>
</spi> </spi>