SEC-1166: Provide strategy interface for AclImpl isGranted() method. #1414

spring-issuemaster opened this Issue May 26, 2009 · 4 comments


None yet

1 participant


Luke Taylor (Migrated from SEC-1166) said:

This will allow more flexibility in the way the permission bitmasks are evaluated. The existing auditLogger should be moved to the default implementation, as this is the only place logging occurs in AclImpl.


Luke Taylor said:

Done. See "source" tab for information.


Bojan Tomic said:

Does this mean providing a bitwise comparing strategy is a safe thing to do?


Peter Rietzler said:

It would be nice if DefaultPermissionGrantingStrategy would contain a template method in order to decide if a permission is contained in the given mask - see
which is a copy with a new method containsPermission. If DefaultPermissionGrantingStrategy would adopt this with a protected version of containsPermission it would be easier to add stuff like bit-wise permission checking etc.

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

This issue supersedes #740

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