Back to Catalog

Securing a Java web application using the Jakarta EE Security API

BeginnerGuided Project

Learn how to secure a web application through authentication and authorization using Jakarta EE Security.

Language

  • English

Topic

  • Open Liberty

Enrollment Count

  • 99

Skills You Will Learn

  • Java

Offered By

  • IBM

Estimated Effort

  • 15 minutes

Platform

  • SkillsNetwork

Last Update

  • April 28, 2024
About This Guided Project
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.