<div dir="ltr">Hi Stian, <br><br>Tried it and it does work. Just needed to specify the path based conflict resolver in jetty-web.xml like so<div><br></div><div><div> <Call name="setInitParameter"></div><div><span class="" style="white-space:pre">                </span><Arg>keycloak.config.resolver</Arg></div><div><span class="" style="white-space:pre">                </span><Arg>com.example.PathBasedKeycloakConfigResolver</div><div><span class="" style="white-space:pre">                </span></Arg></div><div><span class="" style="white-space:pre">        </span></Call></div></div><div><br></div><div><br></div><div>It required additional permission <span style="color:rgb(102,102,102);font-family:'courier new',monospace;font-size:12.8px">java.lang.RuntimePermission "</span><span style="color:rgb(102,102,102);font-family:'courier new',monospace;font-size:12.8px">getClassLoader</span><span style="color:rgb(102,102,102);font-family:'courier new',monospace;font-size:12.8px">"; in </span><span style="font-family:arial;font-size:13.3333px;color:rgb(68,68,68)"> </span><b style="font-family:arial;font-size:13.3333px;color:rgb(68,68,68)">java.policy</b><span style="font-family:arial;font-size:13.3333px;color:rgb(68,68,68)"> </span><span style="font-family:arial;font-size:13.3333px;color:rgb(68,68,68)">file located at</span><span style="font-family:arial;font-size:13.3333px;color:rgb(68,68,68)"> </span><b style="font-family:arial;font-size:13.3333px;color:rgb(68,68,68)">%JavaHome%/jre/lib/security/</b><span style="font-family:arial;font-size:13.3333px;color:rgb(68,68,68)"> .</span></div><div><span style="font-family:arial;font-size:13.3333px;color:rgb(68,68,68)"><br></span></div><div><span style="font-family:arial;font-size:13.3333px;color:rgb(68,68,68)">Thanks!</span></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 23, 2016 at 3:50 PM, Stian Thorgersen <span dir="ltr"><<a href="mailto:sthorger@redhat.com" target="_blank">sthorger@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The Jetty adapter shares a lot of code with the WildFly adapter so the multi-tenancy example should work on Jetty as well. Give it a try and see ;)</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 19 May 2016 at 11:23, Shiva Saxena <span dir="ltr"><<a href="mailto:shivasaxena999@gmail.com" target="_blank">shivasaxena999@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<br><br>Is is possible to support multi-tenancy using the jetty 8.1 adapter? Like by using PathBasedKeycloakConfigResolver or similar. Has anyone tried any such case?<br><br>Thanks!<span><font color="#888888"><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div dir="ltr"><font face="Calibri,sans-serif" color="#000000" style="font-family:Calibri,sans-serif"><div style="line-height:21.3px"><font size="2">Best Regards</font></div></font><div style="line-height:21.3px;color:rgb(68,68,68);font-family:Calibri,sans-serif"><font color="#2672ec" style="line-height:normal"><span style="line-height:21px"><font style="line-height:normal"><b style="line-height:22.72px"><font face="Calibri" style="line-height:normal" size="2">Shiva Saxena</font></b></font></span><font face="Calibri"><br style="line-height:21px"></font></font><b style="line-height:18.46px"><font face="Calibri" color="#2672ec" style="line-height:normal"><a href="http://metalop.com/" style="line-height:18.46px;font-weight:inherit;color:blue" target="_blank">Blog</a></font><font color="#444444" style="line-height:normal"> | <a href="http://in.linkedin.com/in/shivasaxena/" style="line-height:18.46px;font-weight:inherit;color:blue" target="_blank">Linkedin</a> | <a href="http://stackoverflow.com/users/2490343/shiva" style="line-height:18.46px;font-weight:inherit;color:blue" target="_blank">StackOverflow</a></font></b></div></div></div></div>
</font></span></div>
<br></div></div>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font face="Calibri,sans-serif" color="#000000" style="font-family:Calibri,sans-serif"><div style="line-height:21.2999992370605px"><font size="2">Best Regards</font></div></font><div style="line-height:21.2999992370605px;color:rgb(68,68,68);font-family:Calibri,sans-serif"><font color="#2672ec" style="line-height:normal"><span style="line-height:21px"><font style="line-height:normal"><b style="line-height:22.7199993133545px"><font face="Calibri" style="line-height:normal" size="2">Shiva Saxena</font></b></font></span><font face="Calibri"><span style="line-height:21px"><font style="line-height:normal" size="2"><b style="line-height:18.4599990844727px"> </b></font></span></font></font><div style="line-height:21px"><font style="line-height:normal" size="2"><b style="line-height:18.4599990844727px"><font face="Calibri" color="#2672ec" style="line-height:normal"><a href="http://metalop.com/" style="line-height:18.4599990844727px;font-weight:inherit;color:blue" target="_blank">Blog</a></font><font color="#444444" style="line-height:normal"> | <a href="http://in.linkedin.com/in/shivasaxena/" style="line-height:18.4599990844727px;font-weight:inherit;color:blue" target="_blank">Linkedin</a> | <a href="http://stackoverflow.com/users/2490343/shiva" style="line-height:18.4599990844727px;font-weight:inherit;color:blue" target="_blank">StackOverflow</a></font></b></font></div></div></div></div></div></div>
</div></div>