From c29a6c5cd3f232ab61d9e97df17c63cf1e4b0755 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期四, 07 十二月 2023 11:46:14 +0800 Subject: [PATCH] 分类路径注入,过滤默认属性、过滤表单不显示导致分类注入失败bug修改 --- 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