Pull request #699: RED-6670: Enabled to configure ssoSessionIdleTimeout for new created tenants

Merge in RED/persistence-service from RED-6670-sso to master

* commit '86883885ade8a0bb19e715f5f592ea59e0cfaabb':
  RED-6670: Enabled to configure ssoSessionIdleTimeout for new created tenants
This commit is contained in:
Dominique Eiflaender 2023-05-31 09:16:20 +02:00
commit 2a805811c3
2 changed files with 2 additions and 0 deletions

View File

@ -241,6 +241,7 @@ public class TenantManagementService {
redaction.setEmailTheme("redaction");
redaction.setAccountTheme("redaction");
redaction.setAccessTokenLifespan(settings.getTenantAccessTokenLifeSpan());
redaction.setSsoSessionIdleTimeout(settings.getSsoSessionIdleTimeout());
var redactionClient = new ClientRepresentation();
redactionClient.setEnabled(true);

View File

@ -42,6 +42,7 @@ public class FileManagementServiceSettings {
private double compressionThresholdRatio = 10;
private int tenantAccessTokenLifeSpan = 300;
private int ssoSessionIdleTimeout = 1800;
private String applicationName = "RedactManager";
private Set<String> defaultFilterTypes = new HashSet<>();