[keycloak-dev] cache fixes/changes

Bill Burke bburke at redhat.com
Mon Apr 4 21:21:22 EDT 2016


FYI:

KEYCLOAK-2669 showed that if you remove a role, Clients and Groups are 
not invalidated and you get invalid/stale scope mappings and group/role 
mappings.  I fixed this by extending the stream query that is already 
being done when a role is being removed.

Also, whenever something is invalidated, any Adapter instances 
associated with the session are now invalidated automatically.  This 
solves the problem with a reference being stale in the same tx if the 
cache was indirectly invalidated.

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



More information about the keycloak-dev mailing list