15.4.3. EJB Security Annotations About EJB Security Annotations

EJBs use security annotations to pass information about security to the deployer. These include:
Declares which roles are available.
@RolesAllowed, @PermitAll, @DenyAll
Specifies which method permissions are allowed. For information about method permissions, refer to Section, “About EJB Method Permissions”.
Configures the propagated security identify of a component.