I am trying to convert a Spring MVC web app that uses Spring Security with Keycloak to a
multi-tenancy application, for this I followed the standard example and implemented my own
version of KeycloakWebSecurityConfigurerAdapter. Upon first access I am routed to my
instance of KeycloakConfigResolver where I can extract the realm based on the path.
However at some point I am redirected to {applicationContext}/sso/login by
KeycloakAuthenticationEntryPoint and this too ends up in KeycloakConfigResolver but
because there is no realm in the path I end authenticating to the default realm.
Have I missed something, has anyone made this work with Spring Security?
Tony Harris
________________________________
Please consider the environment: Think before you print!
This message has been scanned for malware by Websense.
www.websense.com