Sun Java System Portal Server 7 Enterprise Sample Guide

Chapter 4 Setting Up and Accessing an Anonymous Portal

The Enterprise Sample installs with a functional anonymous portal that allows unauthenticated users access to information in the Portal Desktop before logging in to the Enterprise Sample. This chapter discusses:

Setting Up an Anonymous Portal

To setup an anonymous portal, you need to do the following:

For complete information on configuring anonymous authentication for the Portal Server, refer to the section “Administering Authentication, Users, and Services” in the Sun Java System Portal Server 7 Configuration Guide.

The organization EnterpriseSample referenced below is available after the Enterprise Sample has been installed.

The following procedures are described in this section:

Creating an Anonymous Portal

ProcedureTo Create an Anonymous Portal

Steps
  1. Login to the Access Manager administration console as administrator (amadmin).

    By default, when you log in, Identity Management is selected in the location pane, and Organizations is selected in the Navigation pane.

  2. Select the EnterpriseSample organization.

  3. Use the View menu in the navigation pane and select Users.

  4. Create a user account by clicking on New....

    For example, create the user account siroeauthless as follows.

    1. Select the portal-ID desktop service and any other services required for this user in the list of Available Services and click next.

    2. Specify the following settings for the User and click Finish.

      User ID

      siroeauthless

      First Name

      siroeauthless

      Last Name

      siroeauthless

      Full Name

      siroeauthless

      Password

      siroeauthless

      User Status

      active

    The Enterprise Sample creates the user siroeauthless.

Configuring the Portal Desktop for the Anonymous Portal

ProcedureTo Configure the Portal Desktop for the Anonymous Portal

Steps
  1. Login to the Portal Server administration console as administrator (amadmin).

  2. Click the Portals tab

  3. Click the portal-ID in the Portals list

  4. Select TopLevel [Global] from the Select DN list

  5. Specify the fully distinguished name (DN) and password for the Anonymous User in the Valid UIDs for Anonymous Desktop list.

    For example:

    1. Select Add and specify the following:

      User DN

      uid=siroeauthless,ou=People,o=EnterpriseSample,<rootsuffix>

      Password

      siroeauthless

    2. Click save.


      Note –

      You must save for the changes to take affect.


    The Enterprise Sample adds the siroeauthless user to the list.

  6. Set the Default User DN for anonymous user.

    The Default User DN determines which Anonymous Portal the end user is directed to by default. To set the default user DN for siroeauthless anonymous user:

    1. Select (click the checkbox) next to the siroeauthless entry.

    2. Click the Set as Default button.


      Note –

      You must save the changes.


  7. Restart the web container for the changes to take affect.

Setting Up the Anonymous Portal Desktop

ProcedureTo Setup the Anonymous Portal Desktop

Steps
  1. Login to the Portal Server administration console as administrator (amadmin).

  2. Click the Portals tab.

  3. Click the portal-ID in the Portals list.

  4. Select siroeauthless [User] in the Select DN list.

    If the user does not exist in the Select DN list, then click Add DNs to add the user to the list.

  5. Click Manage Containers and Channels to setup the Anonymous Portal’s Containers and Channels.

  6. Restart the web container for the changes to take affect

Accessing the Anonymous Portal

A user is directed to the anonymous portal if the user does not have a valid Access Manager session and the Portal Desktop has been configured for Anonymous support. The anonymous portal that the user is directed to is determined by the URL parameter:

desktop.suid

If this parameter is not present in the Portal Desktop request then the user is directed to the default anonymous portal. Otherwise, the user is directed to the anonymous portal based on the user account specified by the parameter. For example, the anonymous Enterprise Sample could be directly accessed with the URL:

http://siroe.com/portal/dt?desktop.suid=uid=siroeauthless,ou=people,o=EnterpriseSample,dc=siroe,dc=com