feat: 删除无用依赖
This commit is contained in:
@@ -17,14 +17,12 @@
|
||||
<spring-boot-dependencies.version>3.1.6</spring-boot-dependencies.version>
|
||||
<spring-cloud-dependencies.version>2022.0.4</spring-cloud-dependencies.version>
|
||||
<commons-collections4.version>4.4</commons-collections4.version>
|
||||
<swagger.butler.version>2.0.1</swagger.butler.version>
|
||||
<jjwt.version>0.9.1</jjwt.version>
|
||||
<druid-starter>1.2.18</druid-starter>
|
||||
<jasypt.version>1.14</jasypt.version>
|
||||
<sharding-sphere.version>3.1.0</sharding-sphere.version>
|
||||
<security-oauth2.version>2.3.8.RELEASE</security-oauth2.version>
|
||||
<security-jwt.version>1.1.0.RELEASE</security-jwt.version>
|
||||
<redisson-starter.version>3.24.3</redisson-starter.version>
|
||||
<redisson-starter.version>3.25.0</redisson-starter.version>
|
||||
<mybatis-plus-boot-starter.version>3.5.4.1</mybatis-plus-boot-starter.version>
|
||||
<aliyun-sdk-oss>3.8.1</aliyun-sdk-oss>
|
||||
<qiniu-java-sdk>7.2.28</qiniu-java-sdk>
|
||||
@@ -35,10 +33,9 @@
|
||||
<commons-configuration2.version>2.7</commons-configuration2.version>
|
||||
<fastdfs-client.version>1.27.2</fastdfs-client.version>
|
||||
<userAgent.version>1.21</userAgent.version>
|
||||
<transmittable.version>2.14.3</transmittable.version>
|
||||
<transmittable.version>2.14.4</transmittable.version>
|
||||
<banner.version>1.0.2</banner.version>
|
||||
<commons-beanutils.version>1.9.4</commons-beanutils.version>
|
||||
<spring-social-security.version>1.1.6.RELEASE</spring-social-security.version>
|
||||
<commons-io.version>2.7</commons-io.version>
|
||||
<spring-data-elasticsearch.version>4.2.3</spring-data-elasticsearch.version>
|
||||
<elasticsearch.version>7.13.4</elasticsearch.version>
|
||||
@@ -188,12 +185,6 @@
|
||||
<artifactId>mybatis-plus</artifactId>
|
||||
<version>${mybatis-plus-boot-starter.version}</version>
|
||||
</dependency>
|
||||
<!-- 加入spring security spring security oauth2的处理 -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.security.oauth</groupId>
|
||||
<artifactId>spring-security-oauth2</artifactId>
|
||||
<version>${security-oauth2.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.security</groupId>
|
||||
<artifactId>spring-security-jwt</artifactId>
|
||||
@@ -205,12 +196,6 @@
|
||||
<artifactId>redisson-spring-boot-starter</artifactId>
|
||||
<version>${redisson-starter.version}</version>
|
||||
</dependency>
|
||||
<!-- swagger -->
|
||||
<dependency>
|
||||
<groupId>com.github.zlt2000</groupId>
|
||||
<artifactId>swagger-butler-core</artifactId>
|
||||
<version>${swagger.butler.version}</version>
|
||||
</dependency>
|
||||
<!-- hutool java工具类库 -->
|
||||
<dependency>
|
||||
<groupId>com.aliyun.oss</groupId>
|
||||
@@ -284,11 +269,6 @@
|
||||
<artifactId>banner</artifactId>
|
||||
<version>${banner.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.social</groupId>
|
||||
<artifactId>spring-social-security</artifactId>
|
||||
<version>${spring-social-security.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
@@ -319,16 +299,6 @@
|
||||
<artifactId>elasticsearch</artifactId>
|
||||
<version>${elasticsearch.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.xiaoymin</groupId>
|
||||
<artifactId>knife4j-spring-boot-starter</artifactId>
|
||||
<version>${knife4j.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.xiaoymin</groupId>
|
||||
<artifactId>knife4j-micro-spring-boot-starter</artifactId>
|
||||
<version>${knife4j.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.hibernate</groupId>
|
||||
<artifactId>hibernate-validator</artifactId>
|
||||
|
||||
@@ -30,6 +30,6 @@ CREATE TABLE `oauth_client_details` (
|
||||
-- ----------------------------
|
||||
-- Records of oauth_client_details
|
||||
-- ----------------------------
|
||||
INSERT INTO `oauth_client_details` VALUES (1, 'webApp', NULL, '$2a$10$06msMGYRH8nrm4iVnKFNKOoddB8wOwymVhbUzw/d3ZixD7Nq8ot72', 'webApp', 'app', 'authorization_code,password,refresh_token,client_credentials,implicit,password_code,openId,mobile_password', 'http://127.0.0.1:8082/callback.html', NULL, 3600, NULL, '{"LOGOUT_NOTIFY_URL_LIST":"http://127.0.0.1:8082/logoutNotify"}', 'true', NULL, NULL, 'pc端', 'reference', 1);
|
||||
INSERT INTO `oauth_client_details` VALUES (1, 'webApp', NULL, '$2a$10$06msMGYRH8nrm4iVnKFNKOoddB8wOwymVhbUzw/d3ZixD7Nq8ot72', 'webApp', 'app,openid,profile', 'authorization_code,password,refresh_token,client_credentials,implicit,password_code,openId,mobile_password', 'http://127.0.0.1:8082/callback.html', NULL, 3600, NULL, '{"LOGOUT_NOTIFY_URL_LIST":"http://127.0.0.1:8082/logoutNotify"}', 'true', NULL, NULL, 'pc端', 'reference', 1);
|
||||
INSERT INTO `oauth_client_details` VALUES (2, 'app', NULL, '$2a$10$i3F515wEDiB4Gvj9ym9Prui0dasRttEUQ9ink4Wpgb4zEDCAlV8zO', 'app', 'app', 'authorization_code,password,refresh_token', 'http://127.0.0.1:8081/callback.html', NULL, 3600, NULL, '{"LOGOUT_NOTIFY_URL_LIST":"http://127.0.0.1:8081/logoutNotify"}', 'true', NULL, NULL, '移动端', 'reference', 1);
|
||||
INSERT INTO `oauth_client_details` VALUES (3, 'zlt', NULL, '$2a$10$/o.wuORzVcXaezmYVzwYMuoY7qeWXBALwQmkskXD/7C6rqfCyPrna', 'zlt', 'all', 'authorization_code,password,refresh_token,client_credentials', 'http://127.0.0.1:8080/singleLogin', NULL, 3600, 28800, '{}', 'true', '2018-12-27 00:50:30', '2018-12-27 00:50:30', '第三方应用', 'reference', 1);
|
||||
INSERT INTO `oauth_client_details` VALUES (3, 'zlt', NULL, '$2a$10$/o.wuORzVcXaezmYVzwYMuoY7qeWXBALwQmkskXD/7C6rqfCyPrna', 'zlt', 'all,openid,profile', 'authorization_code,password,refresh_token,client_credentials', 'http://127.0.0.1:8080/singleLogin', NULL, 3600, 28800, '{}', 'true', '2018-12-27 00:50:30', '2018-12-27 00:50:30', '第三方应用', 'reference', 1);
|
||||
@@ -2,4 +2,7 @@
|
||||
Use `oauth-center`;
|
||||
alter table oauth_client_details add token_format varchar(20) not null DEFAULT 'reference' COMMENT 'token格式: reference 引用令牌(不透明), self-contained 自包含令牌(jwt))';
|
||||
alter table oauth_client_details drop column support_id_token;
|
||||
alter table oauth_client_details drop column id_token_validity;
|
||||
alter table oauth_client_details drop column id_token_validity;
|
||||
|
||||
UPDATE oauth_client_details set scope = 'app,openid,profile' where client_id = 'webApp';
|
||||
UPDATE oauth_client_details set scope = 'all,openid,profile' where client_id = 'zlt';
|
||||
Reference in New Issue
Block a user