[keycloak-user] Multi Tenancy support using Jetty 8.1 adapter

Shiva Saxena shivasaxena999 at gmail.com
Tue May 24 03:46:44 EDT 2016


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 at 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 at 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 <http://metalop.com/> | Linkedin
>> <http://in.linkedin.com/in/shivasaxena/> | StackOverflow
>> <http://stackoverflow.com/users/2490343/shiva>*
>>
>> _______________________________________________
>> keycloak-user mailing list
>> keycloak-user at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>
>
>


-- 
Best Regards
*Shiva Saxena*
*Blog <http://metalop.com/> | Linkedin
<http://in.linkedin.com/in/shivasaxena/> | StackOverflow
<http://stackoverflow.com/users/2490343/shiva>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160524/3cb58fa2/attachment-0001.html 


More information about the keycloak-user mailing list