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
To Create an Anonymous Portal
Steps
-
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.
-
Select the EnterpriseSample organization.
-
Use the View menu in the navigation pane and select Users.
-
Create a user account by clicking on New....
For example,
create the user account siroeauthless as follows.
-
Select the portal-ID desktop service
and any other services required for this user in the list of Available Services
and click next.
-
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
To Configure the Portal Desktop for the Anonymous
Portal
Steps
-
Login to the Portal Server administration console as administrator
(amadmin).
-
Click the Portals tab
-
Click the portal-ID in the Portals
list
-
Select TopLevel [Global] from the Select DN list
-
Specify the fully distinguished name (DN) and password for the
Anonymous User in the Valid UIDs for Anonymous Desktop list.
For
example:
-
Select Add and specify the following:
- User DN
-
uid=siroeauthless,ou=People,o=EnterpriseSample,<rootsuffix>
- Password
-
siroeauthless
-
Click save.
Note –
You must save for the changes to take affect.
The Enterprise Sample adds the siroeauthless user to the list.
-
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:
-
Select (click the checkbox) next to the siroeauthless entry.
-
Click the Set as Default button.
Note –
You must save the changes.
-
Restart the web container for the changes to take affect.
Setting Up the Anonymous Portal Desktop
To Setup the Anonymous Portal Desktop
Steps
-
Login to the Portal Server administration console as administrator
(amadmin).
-
Click the Portals tab.
-
Click the portal-ID in the Portals
list.
-
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.
-
Click Manage Containers and Channels to setup the Anonymous Portal’s
Containers and Channels.
-
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