03.05.2015 Views

IBM WebSphere V5.0 Security - CGISecurity

IBM WebSphere V5.0 Security - CGISecurity

IBM WebSphere V5.0 Security - CGISecurity

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Assigning method permissions in the Application<br />

Assembly Tool<br />

To set up these method permissions using the Application Assembly Tool, do the<br />

following:<br />

1. Open the EJB Modules folder for your application open the desired module<br />

under it, itsobankEJB in our case, then finally select Method Permissions.<br />

2. If no method permissions have previously been defined for EJBs, the box on<br />

the right will be empty. Right-click the space under Name, and you will see a<br />

pop-up menu. Select New to create a new set of method permissions.<br />

3. In the New Method Permission dialog box, you may enter a Method<br />

permission name and Description, although these are optional.<br />

4. To add methods, click the first Add... button and you will see the Add Methods<br />

dialog box. By opening the folders, you can see all methods in all the<br />

applications’ EJBs. To select multiple methods, hold down the Ctrl key as you<br />

select methods. All EJB methods of a given type, or all methods for a given<br />

EJB, can be selected by selecting the parent folders as shown in Figure 5-2.<br />

5. Click OK when done.<br />

Figure 5-2 Add Methods window<br />

6. To assign the selected methods to a security role, click the Add... button next<br />

to the Role Name list. You will see a list of all security roles that have been<br />

Chapter 5. Securing EJBs 77

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!