]> source.dussan.org Git - sonarqube.git/commit
Add method UserSession#keepAuthorizedComponents()
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Wed, 10 May 2017 14:00:35 +0000 (16:00 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Wed, 10 May 2017 21:08:31 +0000 (23:08 +0200)
commit10e686608dd3c963ec88dfd7968424331330d584
tree3997e3c94a41eaff5c5e42189fda54e2c61cd10f
parente00d1c11e359c75025fdd85aba7c4df4b22737c9
Add method UserSession#keepAuthorizedComponents()

to be able to fix authorization performance hotspot
14 files changed:
server/sonar-ce/src/main/java/org/sonar/ce/user/CeUserSession.java
server/sonar-ce/src/test/java/org/sonar/ce/user/CeUserSessionTest.java
server/sonar-db-dao/src/main/java/org/sonar/db/permission/AuthorizationDao.java
server/sonar-db-dao/src/main/java/org/sonar/db/permission/AuthorizationMapper.java
server/sonar-db-dao/src/main/resources/org/sonar/db/permission/AuthorizationMapper.xml
server/sonar-db-dao/src/test/java/org/sonar/db/component/ComponentTesting.java
server/sonar-db-dao/src/test/java/org/sonar/db/permission/AuthorizationDaoTest.java
server/sonar-server/src/main/java/org/sonar/server/user/AbstractUserSession.java
server/sonar-server/src/main/java/org/sonar/server/user/DoPrivileged.java
server/sonar-server/src/main/java/org/sonar/server/user/ServerUserSession.java
server/sonar-server/src/main/java/org/sonar/server/user/ThreadLocalUserSession.java
server/sonar-server/src/main/java/org/sonar/server/user/UserSession.java
server/sonar-server/src/test/java/org/sonar/server/tester/UserSessionRule.java
server/sonar-server/src/test/java/org/sonar/server/user/ServerUserSessionTest.java