Securing a Java web application using the Jakarta EE Security API
Explore how to secure Java web applications using the Jakarta EE Security API. Learn how to implement authentication, authorization, and security mechanisms in Java-based web applications, ensuring data protection and compliance with security standards.
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.
Jakarta EE Security provides capability to configure the basic authentication, form authentication, or custom form authentication mechanism by using annotations in servlets. It also provides the SecurityContext API for programmatic security checks in application code.
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.
There are no reviews yet.