From 27cddefb0cb28da699954ba1a1756d6bcabafbbe Mon Sep 17 00:00:00 2001 From: ludc <ludc@vci-tech.com> Date: 星期三, 05 三月 2025 17:41:29 +0800 Subject: [PATCH] 集成申码接口调整:当码值按照约定传表名为空的业务场景下传null校验问题和码值组装问题。 --- Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/IPasswordFreeLoginService.java | 27 ++++++++++++++++++++++----- 1 files changed, 22 insertions(+), 5 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 b7f5780..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 @@ -3,7 +3,6 @@ import org.apache.http.auth.AuthenticationException; import javax.servlet.ServletRequest; -import javax.servlet.http.HttpServletRequest; /** * 鍏嶅瘑鐧诲綍鏈嶅姟 @@ -20,10 +19,28 @@ String getGatewayPort(String serviceId); /** - * 鍏嶅瘑鐧诲綍鏂规硶 - * @param username 璐﹀彿 - * @return + * 鍏嶅瘑鐧诲綍锛屾敼鍙樺綋鍓峸ebservice璇锋眰鐨刪eader + * @param userName 璐﹀彿 + * @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