完善 SecurityProperties 注释

This commit is contained in:
YunaiV 2023-04-02 19:13:00 +08:00
parent c0fa6311ce
commit 9c78758cd6

View File

@ -32,15 +32,14 @@ public class SecurityProperties {
@NotEmpty(message = "mock 模式的密钥不能为空") // 这里设置了一个默认值因为实际上只有 mockEnable true 时才需要配置
private String mockSecret = "test";
/**
* 免登录的 URL 列表
*/
private List<String> permitAllUrls = Collections.emptyList();
/**
* PasswordEncoder 加密复杂度越高开销越大
*/
private Integer passwordEncoderLength = 4;
/**
* 免登录的 URL 列表
*/
private List<String> permitAllUrls = Collections.emptyList();
}