[keycloak-user] Running Keycloak in Jetty

Pål Oliver Kristiansen paal.oliver at gmail.com
Tue Aug 30 08:01:05 EDT 2016


Thanks Stian!

We did in fact abandon the attempt to shoehorn it into Jetty and are now
deploying using the provided Docker image.

tir. 30. aug. 2016 kl. 13.52 skrev Stian Thorgersen <sthorger at redhat.com>:

> Technically everything is possible, but we leverage a number of features
> in WildFly that are not available in Jetty. You may get it to work with one
> particular release just to find that there are new and existing things to
> solve in the future. I would recommend spending your time on deploying the
> Keycloak standalone server distribution with your pipeline and setup rather
> than trying to get Keycloak server running in Jetty. I imagine it'll be
> less work and you won't get issues in the future if we add more
> dependencies on WildFly.
>
> On 30 August 2016 at 13:29, Pål Oliver Kristiansen <paal.oliver at gmail.com>
> wrote:
>
>> Thanks Christopher!
>>
>> But what I'm referring to is to run the Keycloak server itself, in Jetty.
>> It runs on Wildfly out of the box, but in order to support this in our
>> current pipeline and setup, it would be dramatically simpler if it was a
>> way to run it in Jetty, as a ordinary WAR. Technically I guess it should be
>> possible, but I have had problems making it run properly.
>>
>> Thanks again!
>>
>> tir. 30. aug. 2016 kl. 13.25 skrev Christopher Davies <
>> christopher.james.davies at gmail.com>:
>>
>>> We are using Spring security with our Jetty system.
>>> This is working fin so far. We can get hold of both
>>> the KeycloakAuthenticationToken and  the RefreshableKeycloakSecurityContext
>>> This allows us to check the roles inside the Jetty WebApps and to
>>> request refesh of tokens
>>>
>>>
>>> Chris
>>>
>>>
>>> On Tue, Aug 23, 2016 at 10:10 AM Pål Oliver Kristiansen <
>>> paal.oliver at gmail.com> wrote:
>>>
>>>> Anyone that have managed to run Keycloak in Jetty?
>>>> Or anyone that have some pointers to where to start adapting the source
>>>> to make it work?
>>>>
>>>> Thanks!
>>>> --
>>>> Pål Oliver Kristiansen
>>>> Cornix Consulting
>>>> 92 22 60 41
>>>>
>>> _______________________________________________
>>>> keycloak-user mailing list
>>>> keycloak-user at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>>
>>> --
>> Pål Oliver Kristiansen
>> Cornix Consulting
>> 92 22 60 41
>>
>> _______________________________________________
>> keycloak-user mailing list
>> keycloak-user at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>
>
> --
Pål Oliver Kristiansen
Cornix Consulting
92 22 60 41
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160830/7882e571/attachment.html 


More information about the keycloak-user mailing list