Securing a Java web application using the Jakarta EE Security API
Learn how to secure a web application through authentication and authorization using Jakarta EE Security. Implement form authentication and specify security constraints for a servlet. Enhance web application security with the SecurityContext API. Gain insights into user identity verification and access control.
At a Glance
Learn how to secure a web application through authentication and authorization using Jakarta EE Security.
You’ll learn how to secure a web application by performing authentication and authorization using Jakarta EE Security. Authentication confirms the identity of the user by verifying a user’s credentials while authorization determines whether a user has access to restricted resources.
You’ll implement form authentication for a simple web front end. You’ll also learn to specify security constraints for a servlet and use the SecurityContext API to determine the role of a logged-in user.