Given that getMask method on AclEntry class returns an integer,
does that mean that I'm limited to 32 different permissions per entry, or is it somehow extensible?
Thanks
Given that getMask method on AclEntry class returns an integer,
does that mean that I'm limited to 32 different permissions per entry, or is it somehow extensible?
Thanks
You can write any implementation of AclEntry that you like. Use a Long if you'd prefer. Although you've got 2**32 with an integer, so you have a lot possible combinations already. You are not forced to allocate a specific bit to a specific permission. Every bit mask (comprising all 32 bits) is a separate allowed permission.