Decouple SGU authentication from profile pages
This commit is contained in:
@@ -13,6 +13,8 @@ param(
|
||||
[string]$NtlmEndpoint = 'https://sgu.ulsa.edu.mx/',
|
||||
[string[]]$AllowedNtlmRedirectHosts = @('sgu.ulsa.edu.mx'),
|
||||
[ValidatePattern('^/')]
|
||||
[string]$AuthenticationPath = '/psulsa/',
|
||||
[ValidatePattern('^/')]
|
||||
[string]$AdministrativeProfilePath = '/psulsa/gadmon/capitalhumano/controlincidencias/incidencias.aspx',
|
||||
[ValidatePattern('^/')]
|
||||
[string]$StudentProfilePath = '/psulsa/alumnos/consultainformacionalumnos/consultainformacion.aspx',
|
||||
@@ -28,7 +30,9 @@ param(
|
||||
[ValidateLength(1, 64)]
|
||||
[string]$DefaultCompany = 'Universidad La Salle',
|
||||
[ValidateRange(10, 60)]
|
||||
[int]$NtlmTimeoutSeconds = 30,
|
||||
[int]$NtlmTimeoutSeconds = 20,
|
||||
[ValidateRange(2, 30)]
|
||||
[int]$ProfileTimeoutSeconds = 10,
|
||||
[switch]$CreateMissingOus,
|
||||
[switch]$DisableCertificateRevocationCheckForLab
|
||||
)
|
||||
@@ -141,7 +145,9 @@ $productionSettings = @{
|
||||
Endpoint = $NtlmEndpoint
|
||||
Domain = ''
|
||||
TimeoutSeconds = $NtlmTimeoutSeconds
|
||||
ProfileTimeoutSeconds = $ProfileTimeoutSeconds
|
||||
MaxRedirects = 5
|
||||
AuthenticationPath = $AuthenticationPath
|
||||
AdministrativeProfilePath = $AdministrativeProfilePath
|
||||
StudentProfilePath = $StudentProfilePath
|
||||
MenuProfilePath = $MenuProfilePath
|
||||
|
||||
Reference in New Issue
Block a user