class KeyCloakGroupManager extends BaseKeyCloakManager implements GroupManager,
                                                                         ContextualManager {

    @Override
    public SearchResponse<Group> search(SearchRequest request) throws SecurityManagementException {
        // First page must be 1.
        if (request.getPage() <= 0) {
            throw new RuntimeException("First page must be 1.");
        }
        final List<Group> roles = getAll();
        return groupsSearchEngine.search(roles,
                                         request);
    }

    public  KeyCloakGroupManager();

}