Package io.jmix.security.impl.role
Class RoleRepositoryProviderUtils<T extends BaseRole>
java.lang.Object
io.jmix.security.impl.role.RoleRepositoryProviderUtils<T>
@Component("sec_RoleRepositoryProviderUtils")
@Scope("prototype")
public class RoleRepositoryProviderUtils<T extends BaseRole>
extends Object
Different implementations of
RoleRepository
delegate working with RoleProvider
to this class. The class is responsible for searching for roles in multiple role providers, for deleting roles from
providers.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
deleteRole
(String roleCode) findRoleByCodeExcludeVisited
(String roleCode, Set<String> visited, BiConsumer<T, T> roleMergingOperation)
-
Constructor Details
-
RoleRepositoryProviderUtils
-
-
Method Details
-
deleteRole
-
getAllRoles
-
findRoleByCodeExcludeVisited
-