[keycloak-user] multi tenant configuration with 1.3.1?

Stian Thorgersen stian at redhat.com
Wed Jul 22 07:23:03 EDT 2015


Read the manual:
http://keycloak.github.io/docs/userguide/html/Migration_from_older_versions.html#d4e3319

----- Original Message -----
> From: "Hipfinger Martin (BCC.ÖBB.TicketShop.MA)" <Martin.Hipfinger at oebb.at>
> To: keycloak-user at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user



More information about the keycloak-user mailing list