<p dir="ltr">Hi!</p>
<p dir="ltr">I did a PoC where I first loaded a template from a generic keycloak.json. Then before actually building the KeycloakDeployment I applied tenant specific changes. Mainly I set tenant specific values for identifiers such as the realm name, keys and secrets. I used the set methods as you presumed. Finally I created a separate KeycloakDeployment for each tenant. This was all part of the KeycloakConfigResolver implementation.</p>
<p dir="ltr">Best regards,<br>
Thomas</p>
<div class="gmail_quote">On May 25, 2016 23:25, "John D. Ament" <<a href="mailto:john.d.ament@gmail.com">john.d.ament@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey,<div><br></div><div>So far, Keycloak seems awesome. Kudos to you guys for getting something working so well.</div><div><br></div><div>I'm curious about using Keycloak for multienancy. It seems like in theory what I'm looking for should work, but wanted to confirm. I have a multitenant app. The app will dynamically create tenants at runtime, so not configuration pre-deployment. If I'm reading correctly, I just need to build a dynamic KeycloakDeployment at runtime. Is it possible to configure this not off of JSON files? Do I just have to call the setter on the various KeycloakDeployment methods?</div><div><br></div><div>John</div></div>
<br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div>