It is not possible to have a data source per realm. Why would you want to do this? Why not just provision a different Keycloak deployment? What are you trying to accomplish? On 2/27/17 9:20 AM, Danny Trunk wrote: > <subsystem xmlns="urn:jboss:domain:datasources:4.0">