Using Infinispan in my extension

47 views
Skip to first unread message

Carlos del Ojo Elias

unread,
Oct 12, 2022, 8:56:26 AM10/12/22
to Keycloak Dev
Hi,
I am working on a modification of https://github.com/zak905/keycloak-api-key-demo/tree/master/api-key-module to allow API-keys + check permissions via keycloak Authorization capabilities.

Permission check code might be a bit heavy so I was thinking about caching the permission object returned  on a TTL cache with 1m expiry. Then I thought that keycloak is already using infinispan. Can anyone give some directions on how easy is to add a new cache to the infinibase used by Keycloak and what are the practices used in keycloak to get/update those caches?

Thanks,
C
Reply all
Reply to author
Forward
0 new messages