jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE h2 sa sa {% if keycloak_jdbc[keycloak_jdbc_engine].enabled %} {{ keycloak_jdbc[keycloak_jdbc_engine].connection_url }} {{ keycloak_jdbc[keycloak_jdbc_engine].driver_module_name }} 20 {{ keycloak_jdbc[keycloak_jdbc_engine].db_user }} {{ keycloak_jdbc[keycloak_jdbc_engine].db_password }} {% else %} jdbc:h2:${jboss.server.data.dir}/keycloak;AUTO_SERVER=TRUE h2 sa sa {% endif %} {% if keycloak_jdbc[keycloak_jdbc_engine].enabled %} {{ keycloak_jdbc[keycloak_jdbc_engine].driver_class }} {{ keycloak_jdbc[keycloak_jdbc_engine].xa_datasource_class }} {% endif %} org.h2.jdbcx.JdbcDataSource false {% for cachename in [ "sessions", "offlineSessions", "clientSessions", "offlineClientSessions", "loginFailures", "actionTokens" ] %} true org.keycloak.cluster.infinispan.KeycloakHotRodMarshallerFactory false {{ keycloak_remotecache.username }} {{ keycloak_remotecache.password }} {{ keycloak_remotecache.realm | default('default') }} {{ keycloak_remotecache.server_name }} {{ keycloak_remotecache.sasl_mechanism | default('SCRAM-SHA-512') }} false {{ keycloak_remotecache.trust_store_path | default('/etc/truststore/truststore.jks') }} JKS {{ keycloak_remotecache.trust_store_password | default("changeme") }} {% endfor %} true org.keycloak.cluster.infinispan.KeycloakHotRodMarshallerFactory false {{ keycloak_remotecache.username }} {{ keycloak_remotecache.password }} {{ keycloak_remotecache.realm | default('default') }} {{ keycloak_remotecache.server_name }} {{ keycloak_remotecache.sasl_mechanism | default('SCRAM-SHA-512') }} false {{ keycloak_remotecache.trust_store_path | default('/etc/truststore/truststore.jks') }} JKS {{ keycloak_remotecache.trust_store_password | default("changeme") }} java:jboss/datasources/KeycloakDS CREATE TABLE IF NOT EXISTS JGROUPSPING ( own_addr varchar(200) NOT NULL, cluster_name varchar(200) NOT NULL, updated TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, ping_data varbinary(5000) DEFAULT NULL, PRIMARY KEY (own_addr, cluster_name)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin 30000 auth classpath:${jboss.home.dir}/providers/* master 900 2592000 true true ${jboss.home.dir}/themes jpa basic default ${keycloak.jta.lookup.provider:jboss} ${keycloak.x509cert.lookup.provider:default} default {% if keycloak_modcluster.enabled %} {% endif %} {% if keycloak_modcluster.enabled %} {% endif %}