jakarta-eeauthenticationjaspic

basic/digest authentication implementation in Java server code/web server


We need to support basic authentication and later digest authentication in Java web project. My doubt is


Solution

  • Basic and Digest authentication are covered by the servlet specification. Read the spec or this tutorial to know how it works.

    Where the credentials are stored and how they are checked is at the discretion of each container, though. Tomcat supports a variety of Realm implementations (file-based, JDBC based, LDAP-based, etc.) Don't know for JBoss.