import javax.annotation.Nullable;
import javax.annotation.concurrent.Immutable;
import org.sonar.db.component.BranchDto;
-import org.sonar.db.component.ComponentDto;
import org.sonar.db.portfolio.PortfolioDto;
import org.sonar.db.project.ProjectDto;
-import static com.google.common.base.MoreObjects.firstNonNull;
import static com.google.common.base.Strings.emptyToNull;
import static com.google.common.base.Strings.nullToEmpty;
import static java.util.Collections.unmodifiableMap;
package org.sonar.server.notification;
import com.google.common.annotations.VisibleForTesting;
-import com.google.common.collect.ImmutableMultimap;
-import com.google.common.collect.ImmutableSetMultimap;
-import com.google.common.collect.Multimap;
import java.io.IOException;
import java.io.InvalidClassException;
import java.util.Arrays;
-import java.util.Collections;
import java.util.List;
-import java.util.Objects;
import java.util.Set;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import org.sonar.db.DbSession;
import org.sonar.db.EmailSubscriberDto;
import org.sonar.db.notification.NotificationQueueDto;
-import org.sonar.db.property.Subscriber;
import org.sonar.server.notification.email.EmailNotificationChannel;
import static java.util.Collections.emptySet;
*/
package org.sonar.server.notification;
-import com.google.common.collect.Multimap;
import java.util.Objects;
import java.util.Set;
import org.sonar.api.notifications.Notification;
-import org.sonar.api.notifications.NotificationChannel;
import org.sonar.api.web.UserRole;
import static java.util.Objects.requireNonNull;
import java.util.Base64;
import java.util.Optional;
-import javax.servlet.http.HttpServletRequest;
import org.sonar.api.server.http.HttpRequest;
import org.sonar.db.user.UserDto;
import org.sonar.server.authentication.event.AuthenticationEvent;
package org.sonar.server.authentication;
import java.util.Optional;
-import javax.servlet.http.HttpServletRequest;
import org.sonar.api.server.http.HttpRequest;
import org.sonar.db.DbClient;
import org.sonar.db.DbSession;
import java.math.BigInteger;
import java.security.SecureRandom;
import java.util.List;
-import javax.servlet.http.HttpServletResponse;
import org.sonar.api.server.http.HttpResponse;
public class SamlValidationCspHeaders {
import java.util.Optional;
import javax.annotation.Nullable;
-import javax.servlet.http.HttpServletRequest;
import org.apache.commons.lang.StringUtils;
import org.sonar.api.server.http.HttpRequest;
import org.sonar.db.DbClient;
import org.sonar.api.utils.Paging;
import org.sonar.api.web.UserRole;
import org.sonar.core.util.stream.MoreCollectors;
-import org.sonar.db.component.ComponentDto;
import org.sonar.db.entity.EntityDto;
import org.sonar.server.favorite.FavoriteFinder;
import org.sonar.server.user.UserSession;
import com.google.gson.JsonElement;
import java.io.IOException;
import java.io.InputStream;
-import java.util.Collection;
import java.util.List;
import java.util.Locale;
import java.util.Optional;
import org.sonar.server.exceptions.BadRequestException;
import static java.lang.String.format;
-import static java.util.Arrays.asList;
import static java.util.Objects.requireNonNull;
import static org.sonar.server.exceptions.BadRequestException.checkRequest;
import org.sonar.api.config.PropertyDefinitions;
import org.sonar.db.DbClient;
import org.sonar.db.DbSession;
-import org.sonar.db.component.ComponentDto;
import org.sonar.db.entity.EntityDto;
import org.sonar.db.property.PropertyDto;
import java.util.Set;
import org.sonar.api.server.ServerSide;
import org.sonar.api.web.UserRole;
-import org.sonar.db.component.ComponentDto;
import org.sonar.db.entity.EntityDto;
import org.sonar.db.permission.GlobalPermission;
import org.sonar.process.ProcessProperties;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashMap;
-import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Optional;