Enabling anonymous users to search public pages of your portal
You can enable anonymous users (sometimes also called unauthenticated
users) to search public pages of your portal by using a portal search portlet.
To do this, make the Search and Browse portlet or the Search Center
portlet available on a public page of your portal, so that users can access
them without having to log in to the portal.
You also need to enable
public sessions for your portal. The reason is that both the Search and Browse
portlet and the Search Center portlet need a valid session for their run time,
and by default, sessions are not enabled on anonymous pages in the portal.
By default, sessions are only created when a user authenticates and logs in
to the portal.
Proceed as follows:
- Put the Search and Browse portlet or the Search Center portlet
on a public page.
- Give the Anonymous Portal User group access permission to the Search
portlet that you make available to anonymous users, and to the page on which
that portlet is. To do this, you can use the User and Group Permissions portlet,
the Resource Permissions portlet, or the Manage Portlets and Manage Pages
portlets.
- Give the Anonymous Portal User group access to the Search collections.
To do this, use the User and Group Permissions portlet or the Resource Permissions
portlet. From the list of Resource Types, select PSE Sources, then select
the required search collections that you make available to public users, and
assign the Anonymous Portal User access to those search collections.
- Give the Anonymous Portal User group access to the Search scope:
- Click .
- Locate the scope you want the anonymous user to use and click Edit
Search Scope.
- Click Yes to enable the option Available
to Anonymous Users.
- Enable public sessions by setting the parameter public.session to true in
the portal Navigator Service. For
details about portal service configuration parameters and how to set them
refer to the link below.
- Restart both WebSphere
Application Server and WebSphere Portal Express for your changes to take
effect.
Parent topic: Administering Portal Search
Related reference
Portal configuration services
|
|
|