From 37e19536ed75591fbe067d83e26513a2dba89d16 Mon Sep 17 00:00:00 2001 From: xiejun <xj@2023> Date: 星期四, 28 九月 2023 22:17:32 +0800 Subject: [PATCH] 历史导入线程流时获取不到用户对象,导致错误修改(暂时更改成单线程流) --- Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/IPasswordFreeLoginService.java | 24 +++++++++++++++++++++--- 1 files changed, 21 insertions(+), 3 deletions(-) diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/IPasswordFreeLoginService.java b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/IPasswordFreeLoginService.java index b50482a..8f1409d 100644 --- a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/IPasswordFreeLoginService.java +++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/IPasswordFreeLoginService.java @@ -19,10 +19,28 @@ String getGatewayPort(String serviceId); /** - * 鍏嶅瘑鐧诲綍鏂规硶 + * 鍏嶅瘑鐧诲綍锛屾敼鍙樺綋鍓峸ebservice璇锋眰鐨刪eader * @param userName 璐﹀彿 - * @return + * @param servletRequest + * @return boolean + * @throws AuthenticationException */ - boolean passwordFreeLogin(String userName, ServletRequest request) throws AuthenticationException; + boolean pwdFreeLoginByBoolean(String userName, ServletRequest servletRequest) throws AuthenticationException; + + /** + * 鍏嶅瘑鐧诲綍璇锋眰鍙戦�� + * @param userName 璐﹀彿 + * @return 杩斿洖token + * @throws AuthenticationException + */ + String passwordFreeLogin(String userName) throws AuthenticationException; + + /** + * 鍗曠偣鐧诲綍 + * @param empCode + * @return + * @throws Exception + */ + String ssoFreeLogin(String empCode) throws Exception; } -- Gitblit v1.9.3