keycloak-scim/examples/providers/user-storage-simple
2016-11-30 15:44:51 +01:00
..
src/main UserBulkUpdateProvider interface 2016-11-29 18:43:22 -05:00
pom.xml Bump to 2.5.0.Final-SNAPSHOT 2016-11-30 15:44:51 +01:00
README.md remove User Fed SPI 2016-11-23 16:06:44 -05:00

Example User Federation Provider

This is an example of user storage backed by a simple properties file. This properties file only contains username/password key pairs. To deploy this provider you must have Keycloak running in standalone or standalone-ha mode. Then type the follow maven command:

    mvn clean install wildfly:deploy

The ClasspathPropertiesStorageProvider is an example of a readonly provider. If you go to the Users/Federation page of the admin console you will see this provider listed under "classpath-properties. To configure this provider you specify a classpath to a properties file in the "path" field of the admin page for this plugin. This example includes a "test-users.properties" within the JAR that you can use as the variable.

The FilePropertiesStorageProvider is an example of a writable provider. It synchronizes changes made to username and password with the properties file. If you go to the Users/Federation page of the admin console you will see this provider listed under "file-properties". To configure this provider you specify a fully qualified file path to a properties file in the "path" field of the admin page for this plugin.