2016-01-13 13:24:31 +00:00
|
|
|
embed-server --server-config=standalone-ha.xml
|
2016-08-17 19:18:13 +00:00
|
|
|
/subsystem=datasources/data-source=KeycloakDS/:add(connection-url="jdbc:h2:${jboss.server.data.dir}/keycloak;AUTO_SERVER=TRUE",jta=false,driver-name=h2,jndi-name=java:jboss/datasources/KeycloakDS,password=sa,user-name=sa,use-java-context=true)
|
2015-10-14 07:23:55 +00:00
|
|
|
/subsystem=infinispan/cache-container=keycloak:add(jndi-name="infinispan/Keycloak")
|
|
|
|
/subsystem=infinispan/cache-container=keycloak/transport=TRANSPORT:add(lock-timeout=60000)
|
|
|
|
/subsystem=infinispan/cache-container=keycloak/invalidation-cache=realms:add(mode="SYNC")
|
|
|
|
/subsystem=infinispan/cache-container=keycloak/invalidation-cache=users:add(mode="SYNC")
|
2016-08-03 09:04:22 +00:00
|
|
|
/subsystem=infinispan/cache-container=keycloak/invalidation-cache=users/eviction=EVICTION:add(max-entries=10000,strategy=LRU)
|
2015-10-14 07:23:55 +00:00
|
|
|
/subsystem=infinispan/cache-container=keycloak/distributed-cache=sessions:add(mode="SYNC",owners="1")
|
2016-01-13 13:24:31 +00:00
|
|
|
/subsystem=infinispan/cache-container=keycloak/distributed-cache=offlineSessions:add(mode="SYNC",owners="1")
|
2015-10-14 22:44:33 +00:00
|
|
|
/subsystem=infinispan/cache-container=keycloak/distributed-cache=loginFailures:add(mode="SYNC",owners="1")
|
2016-08-12 14:15:13 +00:00
|
|
|
/subsystem=infinispan/cache-container=keycloak/distributed-cache=authorization:add(mode="SYNC",owners="1")
|
2016-02-17 12:02:47 +00:00
|
|
|
/subsystem=infinispan/cache-container=keycloak/replicated-cache=work:add(mode="SYNC")
|
2015-10-14 22:44:33 +00:00
|
|
|
/extension=org.keycloak.keycloak-server-subsystem/:add(module=org.keycloak.keycloak-server-subsystem)
|
2016-08-12 19:04:42 +00:00
|
|
|
/subsystem=keycloak-server:add(web-context=auth,master-realm-name=master,scheduled-task-interval=900,providers=[classpath:${jboss.home.dir}/providers/*])
|
|
|
|
/subsystem=keycloak-server/theme=defaults/:add(dir=${jboss.home.dir}/themes,staticMaxAge=2592000,cacheTemplates=true,cacheThemes=true)
|
|
|
|
/subsystem=keycloak-server/spi=eventsStore/:add(default-provider=jpa)
|
|
|
|
/subsystem=keycloak-server/spi=eventsStore/provider=jpa/:add(properties={exclude-events => "[\"REFRESH_TOKEN\"]"},enabled=true)
|
|
|
|
/subsystem=keycloak-server/spi=realm/:add(default-provider=jpa)
|
|
|
|
/subsystem=keycloak-server/spi=user/:add(default-provider=jpa)
|
|
|
|
/subsystem=keycloak-server/spi=userCache/:add
|
|
|
|
/subsystem=keycloak-server/spi=userCache/provider=default/:add(enabled=true)
|
|
|
|
/subsystem=keycloak-server/spi=userSessionPersister/:add(default-provider=jpa)
|
|
|
|
/subsystem=keycloak-server/spi=authorizationPersister/:add(default-provider=jpa)
|
|
|
|
/subsystem=keycloak-server/spi=timer/:add(default-provider=basic)
|
|
|
|
/subsystem=keycloak-server/spi=connectionsHttpClient/:add
|
|
|
|
/subsystem=keycloak-server/spi=connectionsHttpClient/provider=default/:add(enabled=true)
|
|
|
|
/subsystem=keycloak-server/spi=connectionsJpa/:add
|
|
|
|
/subsystem=keycloak-server/spi=connectionsJpa/provider=default/:add(properties={dataSource => "java:jboss/datasources/KeycloakDS",databaseSchema => "update"},enabled=true)
|
|
|
|
/subsystem=keycloak-server/spi=realmCache/:add
|
|
|
|
/subsystem=keycloak-server/spi=realmCache/provider=default/:add(enabled=true)
|
|
|
|
/subsystem=keycloak-server/spi=connectionsInfinispan/:add(default-provider=default)
|
|
|
|
/subsystem=keycloak-server/spi=connectionsInfinispan/provider=default/:add(properties={cacheContainer => "java:comp/env/infinispan/Keycloak"},enabled=true)
|
2016-08-17 19:18:13 +00:00
|
|
|
/subsystem=keycloak-server/spi=jta-lookup/:add
|
|
|
|
/subsystem=keycloak-server/spi=jta-lookup/provider=jboss/:add(enabled=true)
|