diff options
author | Wojtek Wajerowicz <115081248+wojciech-wajerowicz-sonarsource@users.noreply.github.com> | 2022-11-24 19:45:16 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-12-08 20:02:58 +0000 |
commit | 77e8af2605811bf1d13532585ec18ecb602970a5 (patch) | |
tree | 042b538ba97036a4d1603cbbd2026b80a2a9f8dd /server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java | |
parent | bd23178bb85c8eca984ad63fda153567ee8b222e (diff) | |
download | sonarqube-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.java | 7 |
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; + } } |