Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

SEC-1054: Add method "clear" to interface AclCache #1305

spring-issuemaster opened this Issue Dec 9, 2008 · 1 comment


None yet
1 participant

Martin Renner(Migrated from SEC-1054) said:

Sometimes it would be nice to be able to clear the whole ACL cache.

E.g. we have our own implementation of an extended AclService which allows bulk operations. In case of an exception it is quite cumbersome to clear all given ACLs and their children (to be tx aware). Instead, it would be nice to clear the whole cache.

Therefore the interface AclCache should get a new method

void clearCache();

and its sole implementation EhCacheBasedAclCache would implement the new method like this:

public void clearCache() {

Luke Taylor said:

Retrospective comment: Makes sense - added as requested.

@spring-issuemaster spring-issuemaster added this to the 3.0.0 M1 milestone Feb 5, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment