keycloak-scim/server_development/topics/user-storage/packaging.adoc
2022-02-08 14:07:16 +01:00

17 lines
742 B
Text

=== Packaging and deployment
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:
----
org.keycloak.examples.federation.properties.ClasspathPropertiesStorageFactory
org.keycloak.examples.federation.properties.FilePropertiesStorageFactory
----
ifeval::["{kc_dist}" == "quarkus"]
To deploy this jar, copy it to the `providers/` directory, then run `bin/kc.[sh|bat] build`.
endif::[]
ifeval::["{kc_dist}" == "wildfly"]
To deploy this jar, just copy it to the `standalone/deployments/` directory.
endif::[]