13.07.2015 Views

IBM WebSphere V5.0 Security - CGISecurity

IBM WebSphere V5.0 Security - CGISecurity

IBM WebSphere V5.0 Security - CGISecurity

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

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

defined in the EJB module. For information about adding security roles, see“Defining security roles in the Application Assembly Tool” on page 28.7. Select the manager security role and click OK. Now, the New MethodPermissions window will appear as in Figure 5-3, and the resultingdeployment descriptor will contain the XML code shown in Example 5-1 onpage 76.Figure 5-3 New Methods Permission dialog boxAssigning method permissions in <strong>WebSphere</strong> StudioTo set up these method permissions using <strong>WebSphere</strong> Studio, do the following:1. From the Resource Perspective, navigate to the EJB deployment descriptorfile, ebj-jar.xml, and double-click this file.2. Click the Assembly Descriptor tab to see the method permissions.3. If no security roles have been defined for EJBs, click the Add... button belowthe <strong>Security</strong> Roles box, to see the Add <strong>Security</strong> Role dialog box. Enter aName and (optionally) a Description and then click Finish. Repeat to add allnecessary security roles to the EJB module.4. Click the Add... button below the Method Permissions box to see the AddMethod Permissions dialog. Select one or more security roles, as shown inFigure 5-4.78 <strong>IBM</strong> <strong>WebSphere</strong> <strong>V5.0</strong> <strong>Security</strong> Handbook

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

Saved successfully!

Ooh no, something went wrong!