Hi all,
I am starting with keycloak and I have issue with add it to existing Wildfly 9.0.1.Final.
I already used KEYCLOAK BLOG with quick and helpfull conversion with Stian Thorgersen, but we didn't solve it.
I have issue with modify domain.xml for keycloak.
-----------------------------------------------------------------------------------------------------------------
Hi last advice was:
So you need to get 3 pieces from standalone-keycloak-ha.xml and add to domain.xml. The bits you need are:
* extension org.keycloak.keycloak-server-subsystem
* cache-container name="keycloak"
* subsystem urn:jboss:domain:keycloak-server:1.1
------------------------------------------------------------------------------------------------------------------
And my last answer was:
Thanks, but It doesn't work for me. Step1 and Step3 are clearly for me. For Step2 I have to add whole infinispan:
<subsystem xmlns="urn:jboss:domain:infinispan:3.0">
<cache-container name="keycloak" jndi-name="infinispan/Keycloak">
<local-cache name="realms"/>
<local-cache name="users"/>
<local-cache name="sessions"/>
<local-cache name="loginFailures"/>
</cache-container>
<cache-container name="server" default-cache="default" module="org.wildfly.clustering.server">
<local-cache name="default">
<transaction mode="BATCH"/>
</local-cache>
</cache-container>
<cache-container name="web" default-cache="passivation" module="org.wildfly.clustering.web.infinispan">
<local-cache name="passivation">
<transaction mode="BATCH"/>
<file-store passivation="true" purge="false"/>
</local-cache>
<local-cache name="persistent">
<transaction mode="BATCH"/>
<file-store passivation="false" purge="false"/>
</local-cache>
</cache-container>
<cache-container name="ejb" aliases="sfsb" default-cache="passivation" module="org.wildfly.clustering.ejb.infinispan">
<local-cache name="passivation">
<transaction mode="BATCH"/>
<file-store passivation="true" purge="false"/>
</local-cache>
<local-cache name="persistent">
<transaction mode="BATCH"/>
<file-store passivation="false" purge="false"/>
</local-cache>
</cache-container>
<cache-container name="hibernate" default-cache="local-query" module="org.hibernate.infinispan">
<local-cache name="entity">
<transaction mode="NON_XA"/>
<eviction strategy="LRU" max-entries="10000"/>
<expiration max-idle="100000"/>
</local-cache>
<local-cache name="local-query">
<eviction strategy="LRU" max-entries="10000"/>
<expiration max-idle="100000"/>
</local-cache>
<local-cache name="timestamps"/>
</cache-container>
</subsystem>
because it was missing complety. After run system with such *.xml starting auth wasn't possible.
I attached my domain.xml with last updated steps mentioned below.
Thanks for answer and Best Regards
Andrej.
_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user