Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.5.12
Description
Currently, o.a.j.oak.security.authorization.accesscontrol.Util#generateAceName is traversing all the existing ACE of a certain node in order to generate continuous numbering (allow0, allow1, allow2).
While that certainly helps to produce human readable names, it represents quite a performance bottleneck when the number of existing ACE starts to grow.
Since the naming is a pure implementation detail, my proposal is to keep the continuous numbering for the first hundreds of nodes and then use a random number to generate unique names in a faster fashion.