Applying Web Security using J2EE RI

If you want to examine the agency case study with Web-based security defined, start up deploytool, open the webagency.war file in the Day15/examples/j2ee-ri directory and select the webagency application.

Alternatively, if you want to work through the steps in today's lesson and add security yourself, copy the webagency.war file you developed on Day 14, “JSP Tag Libraries,” to a working directory and open it with deploytool.

To illustrate the basic features of J2EE Web security, you will need to configure the Web interface to the Agency case study to authenticate users.

Defining Web Application Roles

Using deploytool select the webagency Web Application and the Security tab. On the security tab select Basic ...

Get Sams Teach Yourself J2EE™ in 21 Days, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.