A

Arogya • 3.49K Points
Extraordinary

Q. Which HTTP status code is returned when authentication fails?

  • (A) 401 Unauthorized
  • (B) 403 Forbidden
  • (C) 404 Not Found
  • (D) 500 Internal Server Error
  • Correct Answer - Option(A)
  • Views: 14
  • Filed under category Spring Security
  • Hashtags:

Explanation by: Arogya

401 indicates authentication is required or has failed.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.