A

Arogya • 3.49K Points
Extraordinary

Q. Which annotation allows role-based access using JSR-250?

  • (A) @RolesAllowed
  • (B) @Secured
  • (C) @PreAuthorize
  • (D) @PermitAll
  • Correct Answer - Option(A)
  • Views: 12
  • Filed under category Spring Security
  • Hashtags:

Explanation by: Arogya

@RolesAllowed is part of the JSR-250 standard for role-based access control.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.