<div dir="ltr">Nevermind, got it...<div><br></div><div><div>D:\dev\server\keycloak-2.2.0.Final>bin\jboss-cli.bat</div><div>You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.</div><div><br></div><div>[disconnected /] connect</div><div><br></div><div>[standalone@localhost:9990 /] /subsystem=keycloak-server:list-add(</div><div>index= name= value=</div><div><br></div><div>[standalone@localhost:9990 /] [standalone@localhost:9990 /] /subsystem=keycloak-server:list-add(name=providers,value=module:com.acme.idm.keycloak.jms-forwarding-event-listener)</div><div>{"outcome" => "success"}</div><div><br></div><div>[standalone@localhost:9990 /] ls /subsystem=keycloak-server</div><div>spi</div><div>theme</div><div>master-realm-name=master</div><div>providers=[expression "classpath:${jboss.home.dir}/providers/*","module:com.acme.idm.keycloak.idm-keycloak-ext-login-action","module:com.acme.idm.keycloak.jms-forwarding-event-listener"]</div><div>scheduled-task-interval=900</div><div>web-context=auth</div></div><div><br></div><div>Cheers,</div><div>Thomas</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-19 14:59 GMT+02:00 Thomas Darimont <span dir="ltr"><<a href="mailto:thomas.darimont@googlemail.com" target="_blank">thomas.darimont@googlemail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div>I'm current trying to migrate our Keycloak configuration from 2.1.0.Final to 2.2.0.Final.</div><div>Since we have some custom extensions deployed as jboss-modules in Keycloak </div><div>I need to convert the configuration from "keycloak-server.json" to the appropriate form in standalone-ha.xml.</div><div><br></div><div>I tried to do that via jboss-cli but I seem to miss something... I currently don't see a way to</div><div>do that via the cli and since I currently don't want to fallback to XSLT I wonder:</div><div>Does anyone have a hint for converting the providers configuration from:</div><div><br></div><div>keycloak-server.json:</div><div>{</div><div> "providers" : [ "classpath:${jboss.home.dir}/<wbr>providers/*"</div><div> , "module:com.acme.idm.keycloak.<wbr>idm-keycloak-ext-login-action"</div><div><span style="white-space:pre-wrap">                                </span>, "module:com.acme.idm.keycloak.<wbr>jms-forwarding-event-listener" ]</div><div>...</div><div><br></div><div>to:</div><div><br></div><div>standalone-ha.xml:</div><div><span style="white-space:pre-wrap">                </span><subsystem xmlns="urn:jboss:domain:<wbr>keycloak-server:1.1"></div><div> <web-context>auth</web-<wbr>context></div><div> <providers></div><div> <provider>classpath:${jboss.<wbr>home.dir}/providers/*</<wbr>provider></div><div> <!-- insert the module references here --></div><div> </providers></div><div><span style="white-space:pre-wrap">                </span>...</div><div>???</div><div><br></div><div>Thanks in advance!</div><div><br></div><div>Cheers,</div><div>Thomas</div></div>
</blockquote></div><br></div>