class KeyCloakGroupManager extends BaseKeyCloakManager implements GroupManager,
                                                                         ContextualManager {

    @Override
    public Group get(String identifier) throws SecurityManagementException {
        checkNotNull("identifier",
                     identifier);
        final RoleResource[] roleResource = new RoleResource[1];
        consumeRealm(realmResource -> {
            final RolesResource rolesResource = realmResource.roles();
            roleResource[0] = rolesResource.get(identifier);
        });
        if (roleResource[0] != null) {
            final RoleRepresentation roleRepresentation = getRoleRepresentation(identifier,
                                                                                roleResource[0]);
            Group g = createGroup(roleRepresentation);
            if (g != null) {
                return g;
            }
        }
        throw new GroupNotFoundException(identifier);
    }

    public  KeyCloakGroupManager();

}