Results 1 to 3 of 3

Thread: Access to target object in hasPermission()

  1. #1
    Join Date
    Jan 2011
    Posts
    4

    Default Access to target object in hasPermission()

    Hello, I'm trying to authorize some methods on my entities, like myEntity.persist(). There is any way to access to myEntity object in the expression hasPermission()? I know that I can access to arguments, but I don't know how to access the target method.

    Thank you.

  2. #2
    Join Date
    Jan 2008
    Posts
    1,826

    Default

    See this JIRA
    Rob Winch - @rob_winch
    Spring Security Lead
    Pivotal

  3. #3
    Join Date
    Jan 2011
    Posts
    4

    Default

    Thanks, that's what I was looking for.

Tags for this Thread

Posting Permissions

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