In-memory storage of User data using the SCIM protocol
To build and run memuser, use the embedded gradle:
$ ./gradlew bootJarRun
This project is also published as a docker image on docker hub. To run a pre-built docker image:
$ docker run -d -p8080:8080 gclayburg/memuser:latest
Memuser should be running and listening on port 8080.
Add a minimal user
$ curl 'http://localhost:8080/api/v2/Users' -i -X POST \
-H 'Content-Type: application/scim+json' \
-H 'Accept: application/scim+json' \
-d '
{
"userName": "alicesmith",
"displayName": "Alice P Smith"
}
'
$ curl 'http://localhost:8080/api/v2/Users/' -i \
-H 'Accept: application/scim+json'
New in version 0.8.0 is the ability to add users to an arbitrary, independent domain. For example, add a user to 'fakehr':
Add a minimal user
$ curl 'http://localhost:8080/api/multiv2/fakehr/Users' -i -X POST \
-H 'Content-Type: application/scim+json' \
-H 'Accept: application/scim+json' \
-d '
{
"userName": "alicesmith",
"displayName": "Alice P Smith"
}
'
As you can see, there is no setup of fakehr required - just add users to it.
$ curl 'http://localhost:8080/api/multiv2/fakehr/Users/' -i \
-H 'Accept: application/scim+json'
More examples can be found in the guide.
See Changelog.md