Protecting Access to a J2EE-Based Application Using J2EE Securit
Importing the Project for the J2EE-Based Car Rental Tutorial
Using J2EE Security Roles in the Application - Steps
Protecting Access to the Application in the JSP
Specifying Authentication in the JSP
Specifying the Policy Domain to Use for Authentication
Creating a J2EE Security Role for Accessing the Application
Creating a Security Constraint
Protecting Access to the EJB Methods Using J2EE Security Roles
Creating the J2EE Security Roles to Use for the EJB Methods
Selecting the EJB Methods for Each J2EE Security Role
Catching the Access Control Error
Rebuilding and Deploying the Application
Creating the Users
Assigning Users to the J2EE Security Roles
Testing the Access Protection