A

Arogya • 3.19K Points
Extraordinary

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

  • (A) 401 Unauthorized
  • (B) 200 OK
  • (C) 302 Found
  • (D) 500 Internal Server Error

Explanation by: Arogya
Spring Security returns HTTP 401 when authentication credentials are missing or invalid.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.