Servlet Container provides different ways of login based servlet authentication:
HTTP Basic Authentication
HTTP Digest Authentication
HTTPS Authentication
Form Based Login: A standard HTML form for authentication, advantage is that we can change the login page layout as our application requirements rather than using HTTP built-in login mechanisms.