Results 1 to 2 of 2

Thread: 32 bits mask?

  1. #1
    Join Date
    Nov 2004
    Posts
    18

    Default 32 bits mask?

    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

  2. #2
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    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.

Similar Threads

  1. ACL mask usage question
    By moritz in forum Security
    Replies: 1
    Last Post: Feb 11th, 2005, 12:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •