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.
This issue supersedes #740