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...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 5-6 New <strong>Security</strong> Role Reference dialog box (Application Assembly Tool)4. Select the desired security role from the Link pull-down menu. Only securityroles which have previously been defined in the EJB module are shown in thismenu.5. Optionally, enter a Description for this security role reference.6. Click OK to apply the changes and close the window.<strong>Security</strong> role references in <strong>WebSphere</strong> StudioTo link the RoleRef security role reference to the manager security role 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 References tab.3. Select the bean containing the method which calls isCallerInRole() and clickAdd....4. In the Add Reference dialog, select <strong>Security</strong> Role Reference and click Next.5. In the Add <strong>Security</strong> Role Reference dialog, shown in Figure 5-7, and enter thereference’s Name. This is the string that is passed to isCallerInRole() in theJava code.82 <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!