Creating a catalog page with a portlet that executes ProxyAuth.jsp

The procedures in this section assume that you have already deployed ProxyAuth.war into the Web container.

StepsCreating the ProxyAuth sample JSP portlet

  1. Launch Portal Studio. In a Web browser, enter

    http://HOSTNAME.DOMAIN:8080/onepage/index.html
    
  2. Log in to Portal Studio and select Build | Portlets.

  3. Click the down arrow beside the New icon and select Aggregated Portlet.

  4. In the Choose Portlet Type window, select JSP and click Next.

  5. In the JSP Element Definition window, select Use Web Application, enter the following for ProxyAuth.war, then click Next.

    1. WAR File To Upload – if you already deployed ProxyAuth.war in the Web container, you do not need to upload that file now. If you have not deployed ProxyAuth.war, specify the path to ProxyAuth.war and click Upload. There will be a success dialog when the upload has completed.

    2. WAR File– ProxyAuth.war

    3. Web App Display Name – ProxyAuth

    4. Initial Resource – /ProxyAuth.jsp

    5. Web App Qualified URL’s – select this option.

    6. Single Sign-On Required– select this option.

  6. When the Finish window appears, enter:

  7. Click Finish.

  8. When you return to the Portlet Manager window, select New from the Status menu. You should see the ProxAuth sample portlet listed in the detail view.

    Right-click “ProxAuth” and select Approval Status | Approved.

  9. Select Approved from the Status menu and verify that the ProxAuth sample portlet displays in the Approved detail view.

StepsCreating a new page for the secured JSP portlet

  1. Select Build | Pages from the Portal Studio left pane.

  2. Click the New icon.

  3. When the Page Builder window displays, click Add button and click on search. ProxAuth sample appears on the right-hand side.

  4. Highlight ProxAuth and click Add.

  5. When the Search window appears, click Search. The ProxAuth sample portlet displays in the Results pane, along with other existing portlets.

  6. Click “ProxAuth” to select that portlet, then click Add. The portlet shows up in the Page Builder on the representation of the new page you are constructing.

  7. Click Save As.

  8. In the Save Page window, enter the following, then click OK.

  9. Click Close to exit the Page Builder window.

  10. When you return to the Page Manager window, select New from the Status menu. You should see the ProxAuth page listed in the detail view.

  11. Right-click ProxAuth and select Status | Approved.

  12. Select Approved from the Status menu and verify that the ProxAuth page displays in the Approved detail view.

StepsAdding the page to a user's page group

  1. Launch Portal Interface. In a Web browser, enter:

    http://HOSTNAME.DOMAIN:8080/onepage/index.jsp
    
  2. Log in to Portal Interface.

  3. Click Add Page.

  4. If you have the required role, you see the ProxAuth page in the premade page list. Select that page and click Done.

The page should display, but the contents of the ProxyAuth portlet should indicate that the current user does not have any proxy authentication information for the target back end application.