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 Details

  • Method Details

    • deleteRole

      public boolean deleteRole(String roleCode)
    • getAllRoles

      public Collection<T> getAllRoles()
    • findRoleByCodeExcludeVisited

      @Nullable public T findRoleByCodeExcludeVisited(String roleCode, Set<String> visited, BiConsumer<T,T> roleMergingOperation)