To enable method-level security annotations like @Secured and @PreAuthorize, the _____ attribute needs to be enabled in the security configuration.

  • enable-annotations
  • method-level-security
  • method-security
  • secured-annotations
To enable method-level security annotations like @Secured and @PreAuthorize, you need to configure the method-security attribute in the Spring Security configuration. This attribute is set to true to enable these annotations.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *