keycloak-scim/docs/documentation/server_development/topics/user-storage/packaging.adoc

13 lines
575 B
Text
Raw Normal View History

2016-12-03 00:55:47 +00:00
2021-06-23 18:10:41 +00:00
=== Packaging and deployment
2016-12-03 00:55:47 +00:00
2017-08-28 12:50:14 +00:00
In order for {project_name} to recognize the provider, you need to add a file to the JAR: `META-INF/services/org.keycloak.storage.UserStorageProviderFactory`. This file must contain a line-separated list of fully qualified classnames of the `UserStorageProviderFactory` implementations:
2016-12-03 00:55:47 +00:00
----
org.keycloak.examples.federation.properties.ClasspathPropertiesStorageFactory
org.keycloak.examples.federation.properties.FilePropertiesStorageFactory
----
To deploy this jar, copy it to the `providers/` directory, then run `bin/kc.[sh|bat] build`.