From: "Hipfinger Martin (BCC.ÖBB.TicketShop.MA)"
<Martin.Hipfinger(a)oebb.at>
To: keycloak-user(a)lists.jboss.org
Sent: Wednesday, 22 July, 2015 1:07:54 PM
Subject: [keycloak-user] multi tenant configuration with 1.3.1?
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=
xxx DS --connection-url=jdbc:oracle:thin:@ xxxxx:1522:xxxxx
--jndi-name=java:jboss/datasources/ xxx DS --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/ xxx DS",
"databaseSchema": "update"
}
}
"connectionsInfinispan": {
"default" : {
"cacheContainer" : "java:jboss/infinispan/ xxx Keycloak"
}
/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
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user