|
|
|
@ -45,7 +45,7 @@ public class PortalLoginBeforeFilter implements Filter {
|
|
|
|
|
}
|
|
|
|
|
boolean isExcludedPage = false;
|
|
|
|
|
String requestURL = request.getRequestURL().toString();
|
|
|
|
|
bb.writeLog("bpmHostList:" + bpmHostList.size());
|
|
|
|
|
// bb.writeLog("bpmHostList:" + bpmHostList.size());
|
|
|
|
|
if(bpmHostList.isEmpty()){
|
|
|
|
|
bpmHostList = new ArrayList<String>();
|
|
|
|
|
String bpm_host_array = PropBean.getUfPropValue("bpm_host_array");
|
|
|
|
@ -119,7 +119,7 @@ public class PortalLoginBeforeFilter implements Filter {
|
|
|
|
|
{
|
|
|
|
|
if(!portal_uid.equals(weaver_uid))
|
|
|
|
|
{
|
|
|
|
|
bb.writeLog("weaver_uid <> uid portal_status:");
|
|
|
|
|
// bb.writeLog("weaver_uid <> uid portal_status:");
|
|
|
|
|
String msg = httpRequestUtil.doGetHttp(portalUserAuth,portal_uid);
|
|
|
|
|
// bb.writeLog("msg:"+msg);
|
|
|
|
|
if (!"".equals(msg))
|
|
|
|
@ -137,11 +137,11 @@ public class PortalLoginBeforeFilter implements Filter {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}else{
|
|
|
|
|
bb.writeLog("weaver_uid == uid");
|
|
|
|
|
// bb.writeLog("weaver_uid == uid");
|
|
|
|
|
User loginuser = (User) request.getSession(true).getAttribute("weaver_user@bean");
|
|
|
|
|
if(loginuser == null)
|
|
|
|
|
{
|
|
|
|
|
bb.writeLog("loginuser is null");
|
|
|
|
|
// bb.writeLog("loginuser is null");
|
|
|
|
|
String msg = httpRequestUtil.doGetHttp(portalUserAuth,portal_uid);
|
|
|
|
|
if (StringUtils.isNotEmpty(msg))
|
|
|
|
|
{
|
|
|
|
@ -160,7 +160,7 @@ public class PortalLoginBeforeFilter implements Filter {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}else {
|
|
|
|
|
bb.writeLog("weaver_uid is null ");
|
|
|
|
|
// bb.writeLog("weaver_uid is null ");
|
|
|
|
|
String msg = httpRequestUtil.doGetHttp(portalUserAuth,portal_uid);
|
|
|
|
|
// bb.writeLog("msg:"+msg);
|
|
|
|
|
if (StringUtils.isNotEmpty(msg))
|
|
|
|
|