Monday, 5 January 2015

Administering user impersonation in Wps8.5


The impersonation feature lets you access another user's system as though you are that user.
Client side aggregation does not support user impersonation. Do not activate client side aggregation on any portal pages where the impersonation portlet is deployed.

The impersonation feature lets you view new pages and portlets. Users such as support specialists can use the impersonation feature to find issues and errors. For example, if a portal administrator has encountered a problem that he or she cannot resolve, a support specialist can use the impersonation feature and access that portal administrator's system to determine a solution to the problem.

Portal Access Control provides the ability to impersonate other users. For this reason, you must assign the Can Run As User role to the user you plan to impersonate after you enable the impersonation feature.

By default, user impersonation is enabled, but you can manually disable or enable the impersonation feature as needed.

Complete the following steps to disable or enable the impersonation feature:

To disable the impersonation feature, run the disable-impersonation

ConfigEngine.bat disable-impersonation -DWasPassword=password -DPortalAdminPwd=password -DCategoriesList=wp.auth.base

                              To enable the impersonation feature, run the enable-impersonation

ConfigEngine.bat enable-impersonation -DWasPassword=password -DPortalAdminPwd=password -DCategoriesList=wp.auth.base

Stop and restart the WebSphere_Portal server.

Assigning the Can Run As User role
Click Administration -> Access -> User and Group Permissions ->Users



  Search “test1user”
    

Click Edit Icon


 
Navigate to the page that contains the Virtual Resources option, using the Page Next button and click that link.

Navigate 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
Impersonating an unauthenticated user
·      Log on to WebSphere Portal as the administrator.
·      Click Administration.
·      Go to Access -> Resource Permissions.
·      Click Virtual Resources.
·      Locate the WCM REST SERVICES resource type and then click the Assign Access icon.
·      Locate the User resource permission and then click the Edit Role icon.
·      Click Add.
·      Check the Anonymous Portal User check box.
·      Click OK.
·      Verify that you can now impersonate an unauthenticated user.
Log into wpsadmin user.Switch on Edit Mode
Click Menu ->As User

 Enter test1user  and Click “Impersonate”


For unauthenticated user

For unauthenticated page, in Menu “unauthenticated user” is seen.





              

No comments:

Post a Comment