From 9c78758cd6bb0f580d48431ac4a0e6a4fdfeec9b Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 2 Apr 2023 19:13:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=20SecurityProperties=20?= =?UTF-8?q?=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../framework/security/config/SecurityProperties.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/yudao-framework/yudao-spring-boot-starter-security/src/main/java/cn/iocoder/yudao/framework/security/config/SecurityProperties.java b/yudao-framework/yudao-spring-boot-starter-security/src/main/java/cn/iocoder/yudao/framework/security/config/SecurityProperties.java index b2045bb5a..2560dcc0b 100644 --- a/yudao-framework/yudao-spring-boot-starter-security/src/main/java/cn/iocoder/yudao/framework/security/config/SecurityProperties.java +++ b/yudao-framework/yudao-spring-boot-starter-security/src/main/java/cn/iocoder/yudao/framework/security/config/SecurityProperties.java @@ -32,15 +32,14 @@ public class SecurityProperties { @NotEmpty(message = "mock 模式的密钥不能为空") // 这里设置了一个默认值,因为实际上只有 mockEnable 为 true 时才需要配置。 private String mockSecret = "test"; - - /** - * PasswordEncoder 加密复杂度,越高开销越大 - */ - private Integer passwordEncoderLength =4; - /** * 免登录的 URL 列表 */ private List permitAllUrls = Collections.emptyList(); + /** + * PasswordEncoder 加密复杂度,越高开销越大 + */ + private Integer passwordEncoderLength = 4; + }