刘光辉
3 小时以前 06f314545ac3514d7ce28939920866ae8188d31c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package jnpf.dmsPermission;
 
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
 
import java.util.LinkedHashSet;
import java.util.Set;
 
@Data
@Component
@ConfigurationProperties(prefix = "dms.permission")
public class DmsPermissionProperties {
    private String adminRoleCode = "DMS.PERMISSION.ADMIN";
    private int maxGrantBatchSize = 500;
    private int maxExclusionBatchSize = 500;
    private int maxDecisionBatchSize = 200;
    private int maxUserFolderTreeUsers = 50;
    private int defaultPageSize = 20;
    private int maxPageSize = 100;
    private int maxPermissionGroupScan = 1000;
    private String cursorSigningSecret = "your-cursor-signing-key";
    private Set<String> resourceRegistrationServiceIds = new LinkedHashSet<>();
}