From d3f35f83ef52b4f41e3bb0f40c52ce4eab229619 Mon Sep 17 00:00:00 2001 From: michaelbirnstiehl Date: Mon, 26 Jul 2021 14:33:28 -0500 Subject: [PATCH] SONAR-15213 Add minimum inactivity timeout duration to environment variables docs --- server/sonar-docs/src/pages/setup/sonar-properties.md | 4 ++-- sonar-application/src/main/assembly/conf/sonar.properties | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/sonar-docs/src/pages/setup/sonar-properties.md b/server/sonar-docs/src/pages/setup/sonar-properties.md index 2bc9392456b..692a00e4bbe 100644 --- a/server/sonar-docs/src/pages/setup/sonar-properties.md +++ b/server/sonar-docs/src/pages/setup/sonar-properties.md @@ -98,7 +98,7 @@ By default users are logged out and sessions closed when server is restarted. If echo -n "type_what_you_want" | openssl dgst -sha256 -hmac "key" -binary | base64 **`SONAR_WEB_SESSIONTIMEOUTINMINUTES=4320`** -The inactivity timeout duration of user sessions, in minutes. After the configured period of time, the user is logged out. The default value is set to 3 days (4320 minutes) and cannot be greater than 3 months. Value must be strictly positive. +The inactivity timeout duration of user sessions, in minutes. After the configured period of time, the user is logged out. The default value is 3 days (4320 minutes). The value cannot be less than 6 minutes or greater than 3 months (129600 minutes). Value must be strictly positive. **`SONAR_WEB_SYSTEMPASSCODE=`** A passcode can be defined to access some web services from monitoring tools without having to use the credentials of a system administrator. Check the Web API documentation to know which web services are supporting this authentication mode. The passcode should be provided in HTTP requests with the header "X-Sonar-Passcode". By default feature is disabled. @@ -132,7 +132,7 @@ Enable the LDAP feature Set to true when connecting to a LDAP server using a case-insensitive setup. **`LDAP_URL=ldap://localhost:10389`** -URL of the LDAP server. Note that if you are using ldaps, then you should install the server certificate into the Java truststore. +URL of the LDAP server. Note that if you are using LDAPS, then you should install the server certificate into the Java truststore. **`LDAP_BINDDN=cn=sonar,ou=users,o=mycompany`** Bind DN is the username of an LDAP user to connect (or bind) with. Leave this blank for anonymous access to the LDAP directory (optional) diff --git a/sonar-application/src/main/assembly/conf/sonar.properties b/sonar-application/src/main/assembly/conf/sonar.properties index b3d8002ccd3..f62ffb272d5 100644 --- a/sonar-application/src/main/assembly/conf/sonar.properties +++ b/sonar-application/src/main/assembly/conf/sonar.properties @@ -131,7 +131,7 @@ # The inactivity timeout duration of user sessions, in minutes. After the configured # period of time, the user is logged out. # The default value is set to 3 days (4320 minutes). -# It must be set between 5 minutes and 3 months. +# It must be set between 6 minutes and 3 months (129600 minutes). # Value must be strictly positive. #sonar.web.sessionTimeoutInMinutes=4320 -- 2.39.5