Do the following configuration in Websphere Application Server to initialize a session for an anonymous user.
1. from the WebSphere Application Server administration console, select Resources > Resource Environment Providers.
2. Click WP NavigatorService. Under Additional Properties select Custom Properties.
3. Click New to create new custom properties.
4. In the Name field, type public.session .
3. Click New to create new custom properties.
4. In the Name field, type public.session .
5. In the Value field, type true.
6. Click OK to confirm the changes.
7. Save the configuration.
8. Restart portal server
7. Save the configuration.
8. Restart portal server
We can also fire an event for an anonymous user using portlet wiring. To get that property we are supposed to do following changes inside WAS ->
Resources -> Resource Environment Providers:
WP PortletServiceRegistryService -> Custom Properties:
we need to have the property "com.ibm.wps.propertybroker.standard.service.PropertyBrokerServiceWrapper.com.ibm.portal.propertybroker.standard.anonymous.page.support" set to "true".
WP PortletServiceRegistryService -> Custom Properties:
we need to have the property "com.ibm.wps.propertybroker.standard.service.PropertyBrokerServiceWrapper.com.ibm.portal.propertybroker.standard.anonymous.page.support" set to "true".
No comments:
Post a Comment