keycloak-scim/examples/providers/user-storage-simple
howcroft e78bf5f876 Keycloak 2035
This PR adds:
* an endpoint to Role that lists users with the Role
* a tab "Users in Role" in Admin console Role page
* it is applicable to Realm and Client Roles
* Extends UserQueryProvider with default methods (throwing Runtime Exception if not overriden)
* Testing in base testsuite and Console
2017-09-22 15:05:49 +01:00
..
src/main Keycloak 2035 2017-09-22 15:05:49 +01:00
pom.xml Set version to 3.4.0.CR1-SNAPSHOT 2017-08-28 15:46:22 +02:00
README.md finish 2016-12-02 19:25:17 -05:00

Example User Storage 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 "readonly-property-file" provider is hardcoded to look within the users.properties file embeded in the deployment jar THere is one user 'tbrady' with a password of 'superbowl'

The "writeable-property-file" provider can be configured to point to a property file on disk. It uses federated storage to augment the property file with any other information the user wants.

Our developer guide walks through the implementation of both of these providers.