Announcement Announcement Module
Collapse
No announcement yet.
@PreAuthorize: Debug symbol information required Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • @PreAuthorize: Debug symbol information required

    Hello,
    I'm using both data-jpa and security. With ACL and a Custom-PermissionEvaluator, I have this message
    when i try to call a method in the repository with @PreAuthorize("hasPermission(#param, 'WRITE')") annotation:

    Code:
    org.springframework.security.access.expression.method.MethodSecurityEvaluationContext
    Unable to resolve method parameter names for method: InterfaceRepository.method().
    Debug symbol information is required if you are using parameter names in expressions.
    What kind of issue could be?

    Thank you

  • #2
    It means that the code was not compiled with debug symbols included. This is how Spring Security determines that the parameter was named param as apposed to arg0, somethingElse etc. You will need to search for enable debug symbols and then whatever you are using to compile (i.e. maven, ant, Eclipse, etc).

    Comment

    Working...
    X