Map declarative security roles to the programmer’s hard-coded (fake) roles

The App Assembler maps between security role references (hard-coded role names the programmer made up) and security roles (abstract role names she chose for this app) using the <role-link> element.

Bean Provider

image with no caption

App Assembler

image with no caption

The complete security mapping picture

image with no caption

Where and how the mapping happens

image with no caption

Get Head First EJB 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.