[keycloak-dev] Make the application context path available on the HttpFacade

Sebastien Blanc sblanc at redhat.com
Mon Apr 24 11:09:38 EDT 2017

Hi !

While trying to fix https://issues.jboss.org/browse/KEYCLOAK-4342 I
realized that I need to have the application context path.
The fix is for the CookieTokenStore, it's failing currently when no
application context is set (for instance a Spring Boot or WF Swarm app
running directly under localhost:8080). (details are in the ticket)

I was hoping to rely on this method getRelativePath();
but for the Undertow implementation for instance , it returns an empty

So, we could add a seperate method on the HttpFacade (or the
KeycloakDeployment object) that returns the application context path, it's
not trivial since it needs to be added to all the adapter implementations.


More information about the keycloak-dev mailing list