Stan Silvert wrote:
The Keycloak auth server allows third-parties to add providers using
ServiceLoader. To do this, you need to open Keycloak's auth-server.war
and drop your jar into the WEB-INF/lib directory.
I'd like to eliminate opening the WAR and have a DeploymentProcessor
look in a particular directory and add the jar at deployment time. What
is the cleanest way to do that?
Deployment overlay. Add the jar as an overlay in WEB-INF/lib.
Bonus points if you tell me that I can treat the service provider jar
a deployment and let the user upload it via CLI. :-)
It can be uploaded via the CLI, but it is not a deployment as such.