Results 1 to 3 of 3

Thread: ACL - UUID Object identity

  1. #1
    Join Date
    Aug 2006
    Posts
    9

    Default ACL - UUID Object identity

    Hi -
    I am trying to protect one of my domian object using ACL. We use UUID as PK in our project. Currently ACL implementation expects a Long compatible object identity. Can someone give me some pointers as to how should I proceed? I saw a Jira item about it but seems like it hasn't be resolved yet.

    Do I just override the ObjectIdentityRetrievalStrategy. Can I change the acl_object_identity table to store a String. Will it break the mutable ACL service. Is there anything else I should be doing.

    Any help would be greatly appreciated.
    Thanks

  2. #2
    Luke Taylor is offline Senior Member Acegi Security System TeamSpring Team
    Join Date
    Aug 2004
    Location
    Glasgow, Scotland
    Posts
    3,449

    Default

    It will only work with numeric values at the moment. As you say, there is a Jira issue open to investigate the use of String identifiers.
    Spring - by Pivotal
    twitter @tekul

  3. #3
    Join Date
    Aug 2006
    Posts
    9

    Default

    Thanks Luke for the quick response. Is it even worth the try? If you think, the effort involved is too high or cannot be done, please kindly advise me.

Posting Permissions

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