[keycloak-user] keycloak with embedded servlet containers

Sebastien Blanc sblanc at redhat.com
Fri Jun 23 03:36:48 EDT 2017


You can get some inspiration but looking at the Spring Boot Adapter that
leverage the embedded containers :
https://github.com/keycloak/keycloak/blob/master/adapters/oidc/spring-boot/src/main/java/org/keycloak/adapters/springboot/KeycloakAutoConfiguration.java

On Fri, Jun 23, 2017 at 8:08 AM, Marek Posolda <mposolda at redhat.com> wrote:

> It's not officially supported, but I think it should work. You somehow
> need to programatically inject the securityHandler with the
> KeycloakJettyAuthenticator to Jetty handler chain for your webapps. We're
> doing something similar in our Fuse adapters btv.
>
> Marek
>
> On 22/06/17 16:23, shimin q wrote:
>
> Are all the keycloak client adaptors meant to be deployed/installed in
> external servlet containers (not the embedded containers)?  We have some
> web apps that use embedded jetty.  The Jetty client adaptors that Keycloak
> supports are for external jetty containers, correct?  If we were to
> integrate keycloak with embedded jetty, how do we go about it?
>
> Please advise.  Thank you!
>
>
>


More information about the keycloak-user mailing list