A

Arogya • 3.19K Points
Extraordinary

Q. Which annotation is used to secure methods in Spring Security?

  • (A) @Secured
  • (B) @Autowired
  • (C) @Component
  • (D) @Bean

Explanation by: Arogya
@Secured restricts method access based on roles.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.