If you migrate to WebSphere® Portal Version 8.5 and upgrade
to fix pack level CF01-CF03, impersonation might not be enabled. If
you plan to use the impersonation feature, which allows a selected
user to preview and test new pages or portlets to help identify any
potential issues, then you might need to enable this feature.
About this task
Note: If you applied CF04 or a later fix pack, then you
do not need to complete the steps to enable impersonation.
Portal
Access Control (PAC) controls the ability to impersonate another user.
To impersonate another user, the Can Run As User role
on the virtual resource users must be assigned. You must first enable
the impersonation feature within WebSphere Portal. If you are unsure
whether the impersonation feature is enabled, you can use the following
instructions to verify that you have the correct settings.
Perform
the following steps to enable the impersonation feature:
Procedure
- Log on to the WebSphere Application Server Integrated
Solutions Console or Network Deployment Administration Console.
- Perform the following steps to enable the impersonation
feature:
- Go to .
- Click New.
- Enter logout.explicit.filterchain in
the Name field.
- Enter com.ibm.wps.auth.impersonation.impl.ImpersonationLogoutFilter in
the Value field.
- Click Apply , and then click Save to
save the changes directly to the master configuration.
- Go to .
- Click New.
- Enter
jndi.com.ibm.portal.portlet.service.impersonation.ImpersonationService in the
Name field.
- Enter
com.ibm.wps.portletservice.impersonation.impl.ImpersonationServiceImpl in the
Value field.
- Click Apply and then click Save to
save the changes directly to the master configuration.
- Stop and restart the WebSphere_Portal server.
- Perform the following steps to assign the Can
Run As User role to a user.
- Log on to WebSphere Portal as
the administrator.
- Click Administration in the site toolbar.
- Click .
- Click Users.
- Search for the user to which you want to assign the Can
Run As User role.
- Click the Select Resource Type icon
for the user.
- Click Page Next, and go to the
page that contains the Virtual Resources option,
and click that link.
- Go to the page that contains the Users option,
and click the Assign Access icon.
- Select the Explicitly Assign check
box for the Can Run As User role.
- Click OK.
- Verify that the user now has User and Can
Run As User access.
The users with the Can Run As User role can
now impersonate another user.