79629462

Date: 2025-05-19 20:56:08
Score: 0.5
Natty:
Report link

In new spring (6.x.x) you have to compile java with "-parameters" option.
That option solved my problem getting path parameter from request.
See that post for more details.
So code like this will work:

@PreAuthorize("#n == authentication.name")
Contact findContactByName(@Param("n") String name);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Max