举报
门户4.0跳认证404
2024-11-09 17:14:56
6次阅读
0个评论
修改认证AppAction类文件
AppAction->appIndex
::
public String appIndex() throws Exception {
try {
isAdmin = UserUtil.isAdmin();
} catch (NullPointerException e) {
String referer = getRequest().getHeader("Referer");
String reg ="portal.";
if(referer.contains(reg)){
Properties properties = SysParameter.getSysParameter();
String ssoService = (String)properties.get("sso.service");
getResponse().sendRedirect(ssoService);
}else{
throw new NullPointerException();
}
}
return SUCCESS;
}
参考:
威海海洋 门户跳认证404
0
0
- 0 回答
- 0 粉丝
- 0 关注