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