Package io.jmix.security.authentication
Class RoleGrantedAuthority.Builder
java.lang.Object
io.jmix.security.authentication.RoleGrantedAuthority.Builder
- Enclosing class:
- RoleGrantedAuthority
-
Field Summary
Modifier and TypeFieldDescriptionprotected Function<String,
ResourceRole> protected Function<String,
RowLevelRole> -
Method Summary
Modifier and TypeMethodDescriptionbuild()
withResourceRoleProvider
(Function<String, ResourceRole> resourceRoleProvider) withResourceRoles
(String... codes) withRowLevelRoleProvider
(Function<String, RowLevelRole> rowLevelRoleProvider) withRowLevelRoles
(String... codes)
-
Field Details
-
resourceRoleProvider
-
rowLevelRoleProvider
-
resourceRoleCodes
-
rowLevelRoleCodes
-
-
Method Details
-
withResourceRoleProvider
public RoleGrantedAuthority.Builder withResourceRoleProvider(Function<String, ResourceRole> resourceRoleProvider) -
withRowLevelRoleProvider
public RoleGrantedAuthority.Builder withRowLevelRoleProvider(Function<String, RowLevelRole> rowLevelRoleProvider) -
withResourceRoles
-
withRowLevelRoles
-
build
-