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
and its sole implementation EhCacheBasedAclCache would implement the new method like this: