A

Arogya • 3.49K Points
Extraordinary

Q. What does hasRole('ADMIN') mean?

  • (A) Checks if database exists
  • (B) Allows access only to ADMIN users
  • (C) Creates admin account
  • (D) Deletes user session
  • Correct Answer - Option(B)
  • Views: 11
  • Filed under category Spring Security
  • Hashtags:

Explanation by: Arogya

The expression ensures only users with ADMIN authority can access the resource.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.