There are ways of servlet authentication:

  • HTTP basic authentication.
  • HTTP digest authentication.
  • HTTPS client authentication.
  • Form-based authentication.
BY Best Interview Question ON 19 Jan 2019