Hi,
Yes, I did these steps and created role mapper.
But what is the difference between role mapper and group mapper?
I checked roles and tooltips, need to check ldap sample.
How to set default roles if a user don't have any role mapped in LDAP?
Thanks!
On 19-Feb-2018 7:49 PM, "Marek Posolda" <mposolda(a)redhat.com> wrote:
You need to create LDAP UserStorage provider in admin console and then
configure some mappers (Role mappers or Group mappers) for LDAP provider.
See docs, admin console tooltips and our example "ldap" from
keycloak-examples distribution for more details.
Marek
On 19/02/18 09:43, valsaraj pv wrote:
Hi,
I would like to know how to implement auth using Keyclock for an existing
model using JAAS & LDAP. Currently a user is aithenticated with LDAP
directly from login module. If the user is in LDAP group, those roles will
be set. If there is no group for a user in LDAP, some hard coded roles will
be set from login module. When Keyclock is used, what kind of role mapping
required for this scenario? How to do this conditional role mapping?
Thanks!
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user