No problem.
The keycloak-authz-client has only a few deps which are basically those
already available on the server. If you don't want a fat jar you could
have a META-INF/jboss-deployment-strucuture.xml referencing the modules you
want to have available to your deployment. Just make sure to set up the
keycloak-authz-client on the server, you can use this module definition [1].
[1]
https://github.com/pedroigor/keycloak/blob/6d8a3f7a8b644ebd6b09000c5ec567...
On Tue, Jun 26, 2018 at 1:47 PM, Jeremy Giberson <
jeremy.giberson(a)privoro.com> wrote:
Sorry for the remedial question — but what would be the best method
to
accomplish that? (Keycloak is the first and only java dev stack in our
ecosystem so I’m a fish out of water).
Im currently exploring making a “fat” jar. I’ve seen a few articles
suggesting different maven plugins to accomplish this. But is this the best
means? Seems like this would include all the dependences rather than just
the one I’m missing.
If you have any guidance it would be greatly appreciated.
On Jun 26, 2018, at 9:38 AM, Pedro Igor Silva <psilva(a)redhat.com> wrote:
Maybe we are missing the library as a runtime library (not only compile if
you just added it to your project) ?
On Tue, Jun 26, 2018 at 1:23 PM, Jeremy Giberson <
jeremy.giberson(a)privoro.com> wrote:
> Hello,
> I’m wondering how I can resolve the error: "Uncaught server error:
> java.lang.NoClassDefFoundError: org/keycloak/authorization/client/Configuration”
> being thrown in my custom authenticator. This started occurring after we
> added the dependency "
> keycloak-authz-client” to our project so we can utilize the AuthzClient
> class.
>
> I’m hoping to utilize the hot deployment option of moving my compiled jar
> into the deployments folder.
> _______________________________________________
> keycloak-user mailing list
> keycloak-user(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/keycloak-user
>