From ec20c004ba168c38646bd93f3f8eb2bacf7b6288 Mon Sep 17 00:00:00 2001 From: Stian Thorgersen Date: Mon, 8 Feb 2016 19:40:42 +0100 Subject: [PATCH] KEYCLOAK-2455 Typo in cached ClientTemplateAdapter --- .../keycloak/models/cache/infinispan/ClientTemplateAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/infinispan/src/main/java/org/keycloak/models/cache/infinispan/ClientTemplateAdapter.java b/model/infinispan/src/main/java/org/keycloak/models/cache/infinispan/ClientTemplateAdapter.java index 211de4f521..ce4095e9e2 100755 --- a/model/infinispan/src/main/java/org/keycloak/models/cache/infinispan/ClientTemplateAdapter.java +++ b/model/infinispan/src/main/java/org/keycloak/models/cache/infinispan/ClientTemplateAdapter.java @@ -53,7 +53,7 @@ public class ClientTemplateAdapter implements ClientTemplateModel { private void getDelegateForUpdate() { if (updated == null) { - cacheSession.registerApplicationInvalidation(getId()); + cacheSession.registerClientTemplateInvalidation(getId()); updated = cacheSession.getDelegate().getClientTemplateById(getId(), cachedRealm); if (updated == null) throw new IllegalStateException("Not found in database"); }