On Fri, 2018-07-06 at 10:30 +0200, Lamine Léo Keita wrote:
Hi,
I've build an authentication SPI which I deploy with a jar file with
no
problem by copying it to $KEYCLOAK_HOME/providers/ directory.
By the way, this method (copying to "providers" directory) has been
deprecated, and the directory has been removed from recent KC versions.
You should either deploy your provider as a module, or just drop it to
standalone/deployments for hot deployment (however with some
restrictions). See [1] for more details.
Dmitry
[1]
https://www.keycloak.org/docs/latest/server_development/index.html#
registering-provider-implementations
I needed external dependencies so I made some change to my
application and
external dependencies are not found ...
The documentation does not really explain this case.
Can someone help me on how to build a jar with all external
dependencies to
deploy it plz?
I tried to use jar-with-dependencies plugin but this does not work
too...
Because my below file is not included in the jar...
services > org.keycloak.authentication.AuthenticatorFactory
Here is the plugin references :
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4.1</version>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
BR,
Lamine
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user