• Basic authentication uses standard HTTP basic security
  • Authentication is through SSL using dialog box instead of HTML form, requiring no changes in JSP pages or servlets. SSL/TLS should be explicitly enabled else the credentials will be transmitted in plain text
  • Easier to setup since it requires no creation and configuration of login or login error pages
  • Mostly, intranet applications use basic authentication

How to Implement Basic Authentication?

  • Define roles and setup users with usernames, passwords, and roles
  • Activating BASIC authentication in the server and designation of Realm
  • Implementing BASIC Authentication with SSL