Enable anonymous access
By default, the pages deployed by the installer require authenticated access. We can optionally enable anonymous access to the pages and portlets.
Enable or disable anonymous access for the sample pages and configure WebSphere Portal to enable sessions for all anonymous users.
The Activity Stream portlet does not support anonymous access in Connections v5.
Attention: Enable anonymous access can significantly increase memory consumption and negatively affect performance.
For more details, see the article about Enable anonymous users to search public pages of your portal in the WebSphere Portal Knowledge Center.
- To enable anonymous access, run the following task to run the xmlaccess script. The task enables anonymous access on the sample pages and creates the public.session REP property in WP NavigatorService, setting the value to true.
ConfigEngine enable-anonymous-page-access -DWasPassword=[wasadminpwd] -DPortalAdminPwd=[portaladminpwd] -DICversion=[Connections_server_version]Where:
- [wasadminpwd] is the password for the WebSphere Application server.
- [portaladminpwd] is the password for the Portal server.
- [Connections_server_version] is the version of the Connections server. This value must be 4.0 or 4.5.
Where:
- To disable anonymous access, run the following command:
ConfigEngine disable-anonymous-page-access -DWasPassword=[wasadminpwd] -DPortalAdminPwd=[portaladminpwd] -DICversion=[Connections_server_version]
Parent topic:
Recommended configuration