From d6bd0d165272fcc6f4209e0d4fbb1517be116af0 Mon Sep 17 00:00:00 2001 From: lbw Date: Mon, 20 Feb 2023 17:19:15 +0800 Subject: [PATCH] =?UTF-8?q?:fire:=20Removing=20code=20or=20files.=20?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8=E4=BB=A3=E7=A0=81=E5=B1=9E?= =?UTF-8?q?=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core/constant/SecurityConstants.java | 42 ------------------- 1 file changed, 42 deletions(-) diff --git a/pigx-common/pigx-common-core/src/main/java/com/pig4cloud/pigx/common/core/constant/SecurityConstants.java b/pigx-common/pigx-common-core/src/main/java/com/pig4cloud/pigx/common/core/constant/SecurityConstants.java index 32edb7b29..f32e9e02a 100644 --- a/pigx-common/pigx-common-core/src/main/java/com/pig4cloud/pigx/common/core/constant/SecurityConstants.java +++ b/pigx-common/pigx-common-core/src/main/java/com/pig4cloud/pigx/common/core/constant/SecurityConstants.java @@ -154,11 +154,6 @@ public interface SecurityConstants { */ String DING_OLD_GET_TOKEN = "https://oapi.dingtalk.com/gettoken"; - /** - * 钉钉同步角色列表 - */ - String DING_OLD_ROLE_URL = "https://oapi.dingtalk.com/topapi/role/list"; - /** * 钉钉同步部门列表 */ @@ -179,28 +174,6 @@ public interface SecurityConstants { */ String BCRYPT = "{bcrypt}"; - /** - * sys_oauth_client_details 表的字段,不包括client_id、client_secret - */ - String CLIENT_FIELDS = "client_id, CONCAT('{noop}',client_secret) as client_secret, resource_ids, scope, " - + "authorized_grant_types, web_server_redirect_uri, authorities, access_token_validity, " - + "refresh_token_validity, additional_information, autoapprove"; - - /** - * JdbcClientDetailsService 查询语句 - */ - String BASE_FIND_STATEMENT = "select " + CLIENT_FIELDS + " from sys_oauth_client_details"; - - /** - * 按条件client_id 查询 - */ - String DEFAULT_SELECT_STATEMENT = BASE_FIND_STATEMENT + " where client_id = ? and del_flag = 0 and tenant_id = %s"; - - /** - * 资源服务器默认bean名称 - */ - String RESOURCE_SERVER_CONFIGURER = "resourceServerConfigurerAdapter"; - /** * 客户端模式 */ @@ -231,21 +204,6 @@ public interface SecurityConstants { */ String NAME = "name"; - /** - * 邮箱 - */ - String EMAIL = "email"; - - /** - * 用户部门字段 - */ - String DETAILS_DEPT_ID = "deptId"; - - /** - * 租户ID 字段 - */ - String DETAILS_TENANT_ID = "tenantId"; - /** * 协议字段 */