Which component in Spring Security is responsible for evaluating method security annotations like @Secured and @PreAuthorize?

  • AccessDecisionManager
  • MethodSecurityInterceptor
  • SecurityContextHolder
  • SecurityInterceptor
The component responsible for evaluating method security annotations like @Secured and @PreAuthorize in Spring Security is the MethodSecurityInterceptor. It intercepts method invocations and enforces security rules based on the annotations.
Add your answer
Loading...

Leave a comment

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