RED-6670: Enabled to configure ssoSessionIdleTimeout for new created tenants

This commit is contained in:
deiflaender 2023-05-30 14:15:26 +02:00
parent 9a44ba7658
commit 86883885ad
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<>();