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.

ii. Browse to select the file /scripts/your_service.ear. TheSelect modules to import window opens.iii. Select your_service.ear and click OK.iv. Click OK for confirmation.v. On the navigation panel, expand EJB Modules to make sure thatyour_service.ear has been imported.c. Expand EJB Modules -> Your_service.ear and select <strong>Security</strong> Roles.d. For every security role that we need to create, we need to perform thefollowing steps repeatedly:i. Select New from the pop-up menu for <strong>Security</strong> Roles.ii. Type the name and description of the new security role and click OK.e. Expand EJB Modules -> Your_service.ear and select MethodPermissions.f. For every defined role that we need to a Web Service method, we need toperform the following steps repeatedly:i. Select New from the pop-up menu for Method Permissions.ii. Type the name of the new method permission and click Add formethods.iii. In the Add methods window, expand the tree for remote methods andselect the method to be protected. Click OK; the Add Methods windowcloses.iv. In the New Method Permission window, click Add for Roles. Select apreviously defined role from the list then click OK.g. Set the EJB References to ensure that the authorization enterprise beancan refer the newly imported enterprise bean. Complete the followingsteps:i. In the navigation pane, expand WSGW Authorization group ->Session Beans -> Authorization and select EJB References.ii. To open a new EJB Reference window, select New from the pop-upmenu for EJB References.iii. In the New EJB Reference window, under the General tab, type aname for the reference then use the Link combination box to select thenewly-imported EJB (all the other fields on this tab are populatedautomatically).158 <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!