|
|
|
@ -11,6 +11,7 @@ import com.fanruan.workplace.conetxt.CompatiblePool;
|
|
|
|
|
import com.fanruan.workplace.http.HttpConstants; |
|
|
|
|
import com.fanruan.workplace.http.RepositoryManager; |
|
|
|
|
import com.fanruan.workplace.http.WorkspaceHeartBeatShell; |
|
|
|
|
import com.fr.report.UnLockedHandler; |
|
|
|
|
import com.fr.workspace.engine.exception.RemoteDesignLoginLockHandler; |
|
|
|
|
import com.fr.workspace.engine.exception.RemoteDesignNoAuthHandler; |
|
|
|
|
import com.fr.workspace.engine.exception.RemoteDesignPasswordNeedUpdateHandler; |
|
|
|
@ -151,6 +152,7 @@ public class DesignWorkContextComponent {
|
|
|
|
|
RemoteExceptionConvert.registerException(HttpConstants.REMOTE_AUTHORITY_ERROR_CODE, new RemoteDesignNoAuthHandler()); |
|
|
|
|
RemoteExceptionConvert.registerException(HttpConstants.PASSWORD_EMPTY_ERROR_CODE, new RemoteDesignUserPwdErrorHandler()); |
|
|
|
|
RemoteExceptionConvert.registerException(HttpConstants.LOGIN_LOCK, new RemoteDesignLoginLockHandler()); |
|
|
|
|
RemoteExceptionConvert.registerException(HttpConstants.TPL_HAS_BEAN_UNLOCK, new UnLockedHandler()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void supplementalCommon() { |
|
|
|
|