21.1. Sample scenario

In this sample scenario, you will create a sample portlet JSR 168 based on a Basic portlet (JSR 168) type using the Portlet Wizard. You will also use this wizard to enable Credential Vault to interact with back-end resources.

In this scenario, the protected back-end resource is a servlet and requires a user ID and password credentials to log in to the Web application (servlet) to retrieve some information. The servlet application has been secured with HTTP Basic Authentication.

In the first part of this scenario, active credentials are used to access a secure Web application using HTTP Basic Authentication. Once this is done, the sample scenario illustrates how the JSR 168 portlet is updated to use Credential Vault passive ...

Get IBM Rational Application Developer V6 Portlet Application Development and Portal Tools now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.