[keycloak-user] What contents from web.xml of .war file needs to be configure in keycloak

Dmitry Telegin dt at acutus.pro
Mon Jul 23 09:08:43 EDT 2018


Vandana,

Could you please check your WEB-INF/keycloak.json and add the following
key:

"use-resource-role-mappings": true

Then redeploy your application. Does it help?

Dmitry

> yes  we have those  in web.xml .
> 
> What exactly needs to be take from web.xml and put in keycloak ? for 
> single sign on configuration ?We tried to have  roles and username
> same as in web.xml in keycloak also but it did not work .can you 
> able to  give us a  scenario in detail ?
> 
> 
> 
> 
> Thanks,
> 
> 
> On Sun, Jul 22, 2018 at 9:21 PM Dmitry Telegin <dt at acutus.pro> wrote:
> > Hi Vandana,
> > 
> > The process of configuring Keycloak Wildfly adapter is described in
> > detail here, including the example of web.xml: https://www.keycloak
> > .org/docs/latest/securing_apps/index.html#jboss-eap-wildfly-adapter
> > 
> > Cheers,
> > Dmitry Telegin
> > CTO, Acutus s.r.o.
> > Keycloak Consulting and Training
> > 
> > Pod lipami street 339/52, 130 00 Prague 3, Czech Republic
> > +42 (022) 888-30-71
> > E-mail: info at acutus.pro
> > 
> > On Thu, 2018-07-19 at 16:24 -0500, vandana thota wrote:
> > > Hello
> > > 
> > > Trying to configure SSO  for the application on wildfly with
> > keycloak
> > > What  contents from web.xml of .war file needs to be
> > configure  in
> > > keycloak
> > > console ?
> > > 
> > > why we need to take from web.xml file
> > > 
> > > What exactly  are they roles etc . ?
> > > 
> > > 
> > > 
> > > Thanks,
> > > Vandana
> > > _______________________________________________
> > > keycloak-user mailing list
> > > keycloak-user at lists.jboss.org
> > > https://lists.jboss.org/mailman/listinfo/keycloak-user
> > 


More information about the keycloak-user mailing list