private final UserSession userSession;
private final ManagedInstanceChecker managedInstanceChecker;
- public UpdateIdentityProviderAction(DbClient dbClient, IdentityProviderRepository identityProviderRepository, UserUpdater userUpdater, UserSession userSession, ManagedInstanceChecker managedInstanceChecker) {
+ public UpdateIdentityProviderAction(DbClient dbClient, IdentityProviderRepository identityProviderRepository,
+ UserUpdater userUpdater, UserSession userSession, ManagedInstanceChecker managedInstanceChecker) {
this.dbClient = dbClient;
this.identityProviderRepository = identityProviderRepository;
this.userUpdater = userUpdater;
package org.sonar.server.usergroups.ws;
import java.util.Optional;
-import java.util.Set;
import javax.annotation.Nullable;
import org.sonar.api.security.DefaultGroups;
import org.sonar.api.server.ServerSide;
return updateDescription(dbSession, withUpdatedName, newDescription);
}
-
public GroupDto createGroup(DbSession dbSession, String name, @Nullable String description) {
validateGroupName(name);
checkNameDoesNotExist(dbSession, name);