You can users to security role bindings to your EJB module.
To add users to security role bindings using the application
deployment descriptor editor:
- Switch to the J2EE perspective.
- In the Project Explorer view, select the desired EJB module.
- Right-click on the Deployment Descriptor Editor and
select Open With from the pop-up menu.
- On the Security page of the editor, scroll
to the WebSphere® Bindings section.
- Select a security role to be bound to a user.
- Select the Users/Groups check box.
- In the Users section, click Add.
The Add Users wizard appears.
- Type a User name.
- Click Finish.
For additional information about security roles, see the WebSphere Application
Server documentation.