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 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.