Harden NTLM authentication and restore SGU profiles

This commit is contained in:
alexrg committed 2026-09-01 16:42:25 -06:00
1 parent a166193b66
commit fe77229b48
19 files changed
+657 -226

No files matched your search

+2 -2
View File
@@ -32,7 +32,7 @@ public sealed class BrokerOptions
}
if (Ntlm.TimeoutSeconds is < 2 or > 60 ||
Ntlm.ProfileTimeoutSeconds is < 2 or > 30 ||
Ntlm.ProfileTimeoutSeconds is < 2 or > 90 ||
Ntlm.MaxRedirects is < 0 or > 10)
{
throw new InvalidOperationException("NTLM timeout or redirect limits are outside the supported range.");
@@ -122,7 +122,7 @@ public sealed class NtlmOptions
public int TimeoutSeconds { get; init; } = 20;
public int ProfileTimeoutSeconds { get; init; } = 10;
public int ProfileTimeoutSeconds { get; init; } = 60;
public int MaxRedirects { get; init; } = 5;