The security EJB concepts mentioned in EJB application security concepts will be explored in the remainder of this chapter by using a mini-project.
The application to be presented, implements a very rudimentary portal application. In this application, the home page content is customized according to the group (mapped to a role) the user belongs to. The EJB will be the core of the application.
One of the purposes of the application is to demonstrate how security is applied to an EJB application. Although the code is short, the solution uses both declarative and programmatic security.
From the functional perspective, the project works around the concept of a portal application. ...