Announcement Announcement Module
Collapse
No announcement yet.
Spring Data and Spring Security - issue with CrudRepository @PreAuthorize SPEL Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Data and Spring Security - issue with CrudRepository @PreAuthorize SPEL

    Hi

    This is a bit of a cross post from a thread on the security forum, but I'm not sure if it is a data or a security issue.

    http://forum.springsource.org/showth...a-Repositories

    In order for the @PreAuthorize security annotation to work, when providing a SPEL reference to the method parameter, I need to compile with debug symbols (which I'm doing).

    The issue is, I think, that because I'm only supplying an interface, and not the implementation class, when it comes time to inspect the class at runtime (which seems to happen using an asm ClassReader) then that inspection is either not being passed the correct class, or it can't find any parameters because the implementation wasn't provided or compiled by me - and so I'm getting an error about debug symbols not being available.

    Any assistance would be greatly appreciated...
Working...
X