Which annotation is used to restrict access to a method to users with a specific role?
@RequestMapping
@PreAuthorize("hasRole('ADMIN')")
@EnableWebSecurity
@SecuredOnly
This question is part of this quiz :