aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
diff options
context:
space:
mode:
authorWojtek Wajerowicz <115081248+wojciech-wajerowicz-sonarsource@users.noreply.github.com>2022-11-24 19:45:16 +0100
committersonartech <sonartech@sonarsource.com>2022-12-08 20:02:58 +0000
commit77e8af2605811bf1d13532585ec18ecb602970a5 (patch)
tree042b538ba97036a4d1603cbbd2026b80a2a9f8dd /server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
parentbd23178bb85c8eca984ad63fda153567ee8b222e (diff)
downloadsonarqube-77e8af2605811bf1d13532585ec18ecb602970a5.tar.gz
sonarqube-77e8af2605811bf1d13532585ec18ecb602970a5.zip
SONAR-17645 Support user commissioning and decomissioning through SCIM for Okta
Diffstat (limited to 'server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java')
-rw-r--r--server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java b/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
index f4238569bda..3b01f339f24 100644
--- a/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
+++ b/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
@@ -81,6 +81,7 @@ import org.sonar.db.rule.RuleDao;
import org.sonar.db.rule.RuleRepositoryDao;
import org.sonar.db.scannercache.ScannerAnalysisCacheDao;
import org.sonar.db.schemamigration.SchemaMigrationDao;
+import org.sonar.db.scim.ScimUserDao;
import org.sonar.db.source.FileSourceDao;
import org.sonar.db.user.GroupDao;
import org.sonar.db.user.GroupMembershipDao;
@@ -172,6 +173,7 @@ public class DbClient {
private final ApplicationProjectsDao applicationProjectsDao;
private final ProjectBadgeTokenDao projectBadgeTokenDao;
private final ScannerAnalysisCacheDao scannerAnalysisCacheDao;
+ private final ScimUserDao scimUserDao;
public DbClient(Database database, MyBatis myBatis, DBSessions dbSessions, Dao... daos) {
this.database = database;
@@ -254,6 +256,7 @@ public class DbClient {
userDismissedMessagesDao = getDao(map, UserDismissedMessagesDao.class);
applicationProjectsDao = getDao(map, ApplicationProjectsDao.class);
scannerAnalysisCacheDao = getDao(map, ScannerAnalysisCacheDao.class);
+ scimUserDao = getDao(map, ScimUserDao.class);
}
public DbSession openSession(boolean batch) {
@@ -561,4 +564,8 @@ public class DbClient {
public ScannerAnalysisCacheDao scannerAnalysisCacheDao() {
return scannerAnalysisCacheDao;
}
+
+ public ScimUserDao scimUserDao() {
+ return scimUserDao;
+ }
}