[keycloak-dev] multi tenant configuration with 1.3.1?
Hipfinger Martin (BCC.ÖBB.TicketShop.MA)
Martin.Hipfinger at oebb.at
Wed Jul 22 06:10:25 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-dev/attachments/20150722/93242959/attachment-0001.html
More information about the keycloak-dev
mailing list