Applying EJB Security with J2EE RI

Now you will add security constraints to the Agency case study. If you want to look at the finished results of following the steps described in the rest of this section, you can look at the agency.ear file in the examples/j2ee-ri directory for Day 15 on the accompanying Web site.

If you want to add security to the Agency case study as you have developed it so far, copy the agency.ear file from the Day06/agency/j2ee-ri directory to a working directory and open this copy using deploytool to follow the steps in the rest of this section.

The Agency application has two JAR files--one for the Session beans, and one for the Entity beans. Select the agency Jar file in the left pane and the Roles tab in the right pane. ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.