[keycloak-user] User Federation Provider and roles

Bill Burke bburke at redhat.com
Thu Oct 15 19:10:58 EDT 2015


For role mappings, you have to proxy UserModel, then you can catch 
whenever the admin console changes role mappings.

For roles themselves, there's nothing you can do except maybe check the 
external db when fetching role mappings.


On 10/15/2015 5:44 PM, carmen wrote:
> Hi all,
>
> I am writing a user federation provider so we can authenticate users stored in a database.
> Our roles are also stored there.
> Is there an interface to provide roles to the realm and trap updates so changes to roles in keycloak effect changes in the DB?
>
> Thanks
> Maria
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com


More information about the keycloak-user mailing list