[keycloak-user] Run locally a Keycloak Server within a Java Maven Project

Bob McWhirter bmcwhirt at redhat.com
Tue Oct 18 08:04:44 EDT 2016


Though not always the latest, we also distribute a -swarm.jar of the
keycloak server from WildFly Swarm.

On Monday, October 17, 2016, Stian Thorgersen <sthorger at redhat.com> wrote:

> KeycloakServer is used internally for our own testing. I would recommend
> just using the Keycloak standalone distribution as it's just a simple zip
> file and can be installed and started with Maven and even better with
> Arquillian.
>
> On 10 October 2016 at 16:32, Charles Moulliard <cmoullia at redhat.com
> <javascript:;>> wrote:
>
> > Hi,
> >
> > The Keycloak project proposes this class to start locally a Keycloak
> Server
> > without the need to install a distribution of KeyCloak
> >
> > https://github.com/keycloak/keycloak/blob/2.2.1.Final/
> > testsuite/integration/src/test/java/org/keycloak/
> > testsuite/KeycloakServer.java#L51
> >
> > Unfortunately, the artefact "keycloak-testsuite-integration" containing
> > the
> > class is not published under a maven repository ("
> > https://repository.jboss.org/nexus/content/groups/public/org/keycloak/
> ").
> >
> > Question :
> >
> > Is there an alternative approach that I could follow to run a local
> > KeycloakServer instance ?
> >
> > Best regards
> >
> > Charles
> > _______________________________________________
> > keycloak-user mailing list
> > keycloak-user at lists.jboss.org <javascript:;>
> > https://lists.jboss.org/mailman/listinfo/keycloak-user
> >
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org <javascript:;>
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>


More information about the keycloak-user mailing list