]> source.dussan.org Git - sonarqube.git/commit
SONAR-16566 Enforce max token lifespan on `api/user_tokens/generate` API call
authorDimitris Kavvathas <dimitris.kavvathas@sonarsource.com>
Tue, 5 Jul 2022 13:17:39 +0000 (15:17 +0200)
committersonartech <sonartech@sonarsource.com>
Thu, 7 Jul 2022 20:03:11 +0000 (20:03 +0000)
commit7c57505bae05fd5d50eabb5ee2b2372a58530cef
treec53c458f0286eede4548de299d06274a7d3c4070
parent43b1c37236233d5c7e6b953efaf1d1d9f1cbed9b
SONAR-16566 Enforce max token lifespan on `api/user_tokens/generate` API call
server/sonar-webserver-webapi/src/main/java/org/sonar/server/usertoken/ws/GenerateAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/usertoken/ws/GenerateActionValidation.java [new file with mode: 0644]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/usertoken/ws/UserTokenSupport.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/usertoken/ws/UserTokenWsModule.java
server/sonar-webserver-webapi/src/main/resources/org/sonar/server/usertoken/ws/search-example.json
server/sonar-webserver-webapi/src/test/java/org/sonar/server/usertoken/ws/GenerateActionTest.java
server/sonar-webserver-webapi/src/test/java/org/sonar/server/usertoken/ws/SearchActionTest.java
sonar-core/src/main/java/org/sonar/core/config/MaxTokenLifetimeOption.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/config/TokenExpirationConstants.java [new file with mode: 0644]
sonar-core/src/test/java/org/sonar/core/config/MaxTokenLifetimeOptionTest.java [new file with mode: 0644]