Add simpleDecisionCache clearing
@@ -103,6 +103,7 @@ public class EntitlementEngine {
public void clearDecisionCache() {
this.decisionCache.clear();
+ this.simpleDecisionCache.clear();
}
/**
@@ -532,6 +533,7 @@ public class EntitlementEngine {
log.debug("Policy Cache is invalidated. Clearing the decision cache.");
}
decisionCache.clear();
+ simpleDecisionCache.clear();
return null;
}
