<div dir="ltr">Yes, that&#39;s what I meant, sorry.<div><br></div><div>I tested it and it works. Thanks again, Stian!</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 11, 2014 at 9:35 AM, Stian Thorgersen <span dir="ltr">&lt;<a href="mailto:stian@redhat.com" target="_blank">stian@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yes, if &quot;my deployment&#39;s lib directory&quot; means &quot;&lt;KEYCLOAK HOME&gt;/standalone/deployments/auth-server.war/WEB-INF/lib&quot;<br>
<span class="im HOEnZb"><br>
----- Original Message -----<br>
&gt; From: &quot;Rodrigo Sasaki&quot; &lt;<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a>&gt;<br>
</span><div class="HOEnZb"><div class="h5">&gt; To: &quot;Stian Thorgersen&quot; &lt;<a href="mailto:stian@redhat.com">stian@redhat.com</a>&gt;<br>
&gt; Cc: <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
&gt; Sent: Thursday, 11 September, 2014 2:31:03 PM<br>
&gt; Subject: Re: [keycloak-user] Deploy a custom theme with the war<br>
&gt;<br>
&gt; So I would have to build a module that has the same mechanics of that one<br>
&gt; on providing themes, bundle it as a jar and adding it to my deployment&#39;s<br>
&gt; lib directory.<br>
&gt;<br>
&gt; Is that correct?<br>
&gt;<br>
&gt; On Thu, Sep 11, 2014 at 9:24 AM, Stian Thorgersen &lt;<a href="mailto:stian@redhat.com">stian@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; You can bundle a theme as a jar, but as it&#39;s an extension to Keycloak, not<br>
&gt; &gt; your war, it has to be on Keycloak&#39;s classpath<br>
&gt; &gt; (&#39;standalone/deployments/auth-server.war/WEB-INF/lib&#39;).<br>
&gt; &gt;<br>
&gt; &gt; See <a href="https://github.com/keycloak/keycloak/tree/master/forms/common-themes" target="_blank">https://github.com/keycloak/keycloak/tree/master/forms/common-themes</a>,<br>
&gt; &gt; specifically<br>
&gt; &gt; <a href="https://github.com/keycloak/keycloak/blob/master/forms/common-themes/src/main/java/org/keycloak/theme/DefaultKeycloakThemeProvider.java" target="_blank">https://github.com/keycloak/keycloak/blob/master/forms/common-themes/src/main/java/org/keycloak/theme/DefaultKeycloakThemeProvider.java</a><br>
&gt; &gt;<br>
&gt; &gt; ----- Original Message -----<br>
&gt; &gt; &gt; From: &quot;Rodrigo Sasaki&quot; &lt;<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a>&gt;<br>
&gt; &gt; &gt; To: <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
&gt; &gt; &gt; Sent: Thursday, 11 September, 2014 2:18:23 PM<br>
&gt; &gt; &gt; Subject: [keycloak-user] Deploy a custom theme with the war<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Hello,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I&#39;m not sure if there was already a question on this matter, but I<br>
&gt; &gt; searched<br>
&gt; &gt; &gt; aroung in JIRA and I couldn&#39;t find it.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Is there a way to deploy a custom theme along with my war artifact?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I tried creating modules like the ones provided, I extended an e-mail<br>
&gt; &gt; module<br>
&gt; &gt; &gt; and a common themes module, creating the factories with a new id, but on<br>
&gt; &gt; the<br>
&gt; &gt; &gt; admin console UI I can&#39;t see my own theme on the select menu.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; If I create a theme and insert it in the /standalone/configuration/themes<br>
&gt; &gt; &gt; directory of my application server it works, but I was told to try and<br>
&gt; &gt; &gt; deploy it along with our war, to capture the theme from the classpath.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Is there already a built in way to do this?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; --<br>
&gt; &gt; &gt; Rodrigo Sasaki<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; keycloak-user mailing list<br>
&gt; &gt; &gt; <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
&gt; &gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Rodrigo Sasaki<br>
&gt;<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><font face="Times New Roman">Rodrigo Sasaki</font><div></div></div>
</div>