[keycloak-dev] multi tenant configuration with 1.3.1?

Stian Thorgersen stian at redhat.com
Wed Jul 22 06:30:42 EDT 2015


Please use user mailing list for support questions

----- Original Message -----
> From: "Hipfinger Martin (BCC.ÖBB.TicketShop.MA)" <Martin.Hipfinger at oebb.at>
> To: keycloak-dev at lists.jboss.org
> Sent: Wednesday, 22 July, 2015 12:10:25 PM
> Subject: [keycloak-dev] 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-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev



More information about the keycloak-dev mailing list