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.

Figure 4-10 Defining <strong>Security</strong> role references in Application Assembly Tool<strong>Security</strong> Role References with <strong>WebSphere</strong> StudioThe following steps will show how to define <strong>Security</strong> Role references for the Webmodule in <strong>WebSphere</strong> Studio Application Developer.1. Open the Web perspective in Studio, select the J2EE Navigator.2. Expand the itsobankWeb tree and double-click Web deploymentdescriptor. This will open the editor with the web.xml file.3. Switch to the Servlets tab.4. Select TransferServlet in the Servlets and JSP section.5. In the Authorized Roles section, click Edit. This will open the SelectAuthorized Roles dialog box.6. Select the roles that you want to add, for example: manager and clerk.This performs the reference a bit differently than the Application AssemblyTool; in this case, the name in the source code and the link to the applicationroles will automatically have the same reference name; in our example, thereference to manager is manager, the reference to clerk is clerk. You cancheck the entry in the web.xml source by searching for the following tag:. This is not the case in Application Assembly tool, wherethe actual reference name and link name can be different.Chapter 4. Securing Web components 57

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

Saved successfully!

Ooh no, something went wrong!