源代码如下:
一、右击导入
二、修改以下
三、配置如下
1. 配置应用MUO信息
apache-tomcat-7.0.54\webapps\siebpm\WEB-INF\_srv\config\user-config.xml
其中siebpm是应用的名称,如果本地叫 default就是这个路径,搜索ession-Manage 替换以下语句
D:\EOS\platform\apache-tomcat-7.0.54\webapps\default\WEB-INF\_srv\config\user-config.xml
<module name="Session-Manage">
<group name="Managed-User-Object">
<!--specify the attributes' name and type of MUO object in Session-->
<configValue key="currentLanguage">java:java.lang.String</configValue>
<configValue key="dbSession">java:java.lang.String</configValue>
<configValue key="dutyID">java:java.lang.String</configValue>
<configValue key="UserObject">java:com.eos.data.datacontext.UserObject</configValue>
</group>
<group name="UserLoginCallback">
<configValue key="Impl-Class"/>
</group>
</module>
2、platform\apps_config\default\config\user-local-config.xml在后面增加以下语句
<module name="Application"> <group name="Login"> <configValue key="SSOAuthentication">com.saip.login.SSOAuthentication</configValue> <configValue key="CustomAuthentication">com.saip.login.CustomLoginAuthentication</configValue> </group> <group name="Logout"> <configValue key="CustomLogout">com.saip.login.CustomLogout</configValue> </group> <!--- modify 0417 --> <group name="organization_client"> <configValue key="OrgService">com.sie.bpm.utils.org.imp.OrgServicePASM</configValue> <configValue key="PositionService">com.sie.bpm.utils.org.imp.PositionServicePASM</configValue> <configValue key="RoleService">com.sie.bpm.utils.org.imp.RoleServicePASM</configValue> <configValue key="UserService">com.sie.bpm.utils.org.imp.UserServicePASM</configValue> </group> </module>
3、修改下面三个地方
com.sie.bpm.utils.org.SAIPWFOrgImpl
com.sie.bpm.utils.org.SAIPWFOMPermissionImpl
/common/error.jsp,/common/validateErrors.jsp,/commo
n/defaultEnd.jsp,/index.jsp,/common.remote,/workfl
ow/wfmanager/main/login.jsp,/workflow/wfmanager/ma
in/com.primeton.workflow.manager.UserLogin.flow,/w
orkflow/wfclient/main/login.jsp,/workflow/wfclient
/main/com.primeton.workflow.client.UserLogin.flow,
/workflow/index.jsp,/common/*,/muo.jsp,/com.saip.m
ainframework.login.flow,/com.smap.smapmain.login.f
low,/com.cms.formpatch.formDownLoadAttach.flow,/co
m.huayi.greenlight.downLoadAttach.flow,/com.cms.fo
rmpatch.getDeskPrintForm.flow,/com.saip.applicatio
n.login.flow,/application/loginPage.jsp,/applicati
on/logoutPage.jsp,/flex/swfLoader.jsp,/com.cms.cms
sso.CmsSsoSystemMaintain.flow,/com.smap.smapmain.l
ogin.flow,/com.cms.formpatch.formDownLoadAttach.fl
ow,/com.cms.formpatch.getDeskPrintForm.flow,/com.s
map.evnmgr.SmapAppRegistMaintain.flow,/com.cms.for
mpatch.formPrintFlow.flow,/com.cms.resetAcoperator
.ResetAcOperator.flow,/com.cms.cmssso.RegisterAppl
icationSystem.flow,/cmspublish/articlesDetails.jsp
,/upload/*