Prev Next

Java / Servlet Interview Questions

Types of authentication methods.

There are 4 main types.

  • Basic username and password are sent in base64 in HTTP header, sent in cleartext so SSL is needed.
  • Digest MD5 digest of credentials (hashed passwords ) are sent.
  • Form-Based username/passwords are sent in POST body; need SSL.
  • Certifcate-based User sends certificate to the server; very secure and enables Mutual authentication.

More Related questions...

Show more question and Answers...


Comments & Discussions