Hi Stian, 

Tried it and it does work. Just needed to specify the path based conflict resolver in jetty-web.xml like so

         <Call name="setInitParameter">
<Arg>keycloak.config.resolver</Arg>
<Arg>com.example.PathBasedKeycloakConfigResolver
</Arg>
</Call>


It  required additional permission  java.lang.RuntimePermission "getClassLoader"; in  java.policy file located at %JavaHome%/jre/lib/security/ .

Thanks!

On Mon, May 23, 2016 at 3:50 PM, Stian Thorgersen <sthorger@redhat.com> wrote:
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 ;)

On 19 May 2016 at 11:23, Shiva Saxena <shivasaxena999@gmail.com> wrote:
Hi,

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?

Thanks!

--
Best Regards
Shiva Saxena
Blog | Linkedin | StackOverflow

_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user




--
Best Regards
Shiva Saxena