首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

Websphere Portal访问个性化主页地址/myportal404异常

2012-10-18 
Websphere Portal访问个性化主页地址/myportal404错误问题描述:访问websphere portal已认证用户个性化主页

Websphere Portal访问个性化主页地址/myportal404错误
问题描述:访问websphere portal已认证用户个性化主页的时候 http://localhost:10038/wps/myportal
登陆portlet不可见 出现E 404错误:没有可用内容
解决办法:参考 IBM 文档 http://www-01.ibm.com/support/docview.wss?rs=688&context=SSHRKX&dc=DB520&dc=DB560&uid=swg21307777&loc=en_US&cs=UTF-8&lang=en&rss=ct688websphere
由于在websphere application server 控制台中没有启用全局安全性 ,导致安全验证返回的是一个  NULL 而不是一个通过验证的安全目标对象。解决次问题的同时又发现了另外一个问题,就是以下 文档中叙述的 http://www-01.ibm.com/support/docview.wss?uid=swg21251492
导致出现404错误的还有另外一种情况就是WebSphere Application Server security settings当中 映射安全角色和组设置中 将Everyone 和All的映射 设定错位。
以下是原文
Upon further investigation, IBM? support discovered that the wps enterprise application had the "All Role" mapped to "Everyone" for the role mappings in the Application Server. This setup leads to the Application Server allowing the request to pass through without setting a user identity, and therefore leads to the NULL subject. The issue was resolved by removing the mapping and restarting the portal server.

NOTE: The default role mappings for the wps enterprise application are located in the WebSphere Application Server admin console under Enterprise Applications->wps->Map security roles to users/groups and are set as follows:

      Everyone Role --> Everyone
      All Role --> All Authenticated
      No Role --> No mapping

在修改完成之后 保存was修改设定 重启服器 问题解决

热点排行