[keycloak-user] multi tenant configuration with 1.3.1?

Hipfinger Martin (BCC.ÖBB.TicketShop.MA) Martin.Hipfinger at oebb.at
Wed Jul 22 07:07:54 EDT 2015


Hi,

we're running keycloak 1.1 with several overlays - in detail:


-       A new datasource per overlay
/opt/keycloak/bin/jboss-cli.sh --commands="connect, data-source add --name=xxxDS --connection-url=jdbc:oracle:thin:@xxxxx:1522:xxxxx --jndi-name=java:jboss/datasources/xxxDS --driver-name=ojdbc --password=xxx --user-name=XXX"


-       A new auth-server entry
/opt/keycloak/bin/jboss-cli.sh --commands="connect, /subsystem=keycloak/auth-server=xxx-server/:add(web-context=xxx, enabled=true)"


-       An own keycloak-server.json
"connectionsJpa": {
"default": {
"dataSource": "java:jboss/datasources/xxxDS",
"databaseSchema": "update"
}
}
"connectionsInfinispan": {
"default" : {
"cacheContainer" : "java:jboss/infinispan/xxxKeycloak"
}

/opt/keycloak/bin/jboss-cli.sh --commands="connect, /subsystem=keycloak/auth-server=xxx-server:update-server-config(bytes-to-upload=/opt/keycloak/standalone/configuration/keycloak-server-xxx.json,overwrite=true)"

This configuration isn't supported anymore with 1.3.1 - do you have any hint for me, how to achieve a similar config with 1.3.1?

br,
Martin


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20150722/a670a15f/attachment.html 


More information about the keycloak-user mailing list