About this task
Step 6 towards the goal:
Implementing EJB 3.x applications
Procedure
You can protect enterprise bean methods by assigning
security roles to them. Before you assign security roles, you need
to know which EJB methods need protecting and how to protect them.