委托授权(impersonation) 服务允许你模拟其他用户登陆来访问门户系统;包括以该用户的身份查看页面、portlets或者其它组件。
启用委托授权服务
在使用委托授权服务之前,你必须首先在WebSphere Portal系统中启用该服务。本段将通过图片展示具体如何启动该服务。登录到WebSphere Application Server的控制台,我们将为特定的两个服务添加两个定制的属性:
- 如下图,打开 Resources > Resource Environment > Resource Environment Providers 页面:
- 选择资源 “WP Authentication Service”,在 Additional Properties 部分,选择Custom Properties:
- 点击 New 按钮来定义一个新的属性,属性名为 ”logout.explicit.filterchain“, 属性值为 ”com.ibm.wps.auth.impersonation.impl.ImpersonationLogoutFilter“, 然后点击 Ok 保存:
- 重新回到 Resources > Resource Environment > Resource Enviro