Following the upgrade of SAS® Central Authentication Service (CAS) from version 3.x to 6.6.0 in a SAS® 9.4M8 (TS1M8) environment, the mid-tier layer stops authenticating users after approximately two to four weeks of system uptime.
Starting with SAS® Central Authentication Service 6, domain name validation was introduced for security purposes. This validation restricts URL processing to only those domains whose top-level domains (TLDs) are included in a predefined allowlist. This behavior is enforced via the Apache Commons Validator library and affects the Single LogOut (SLO) mechanism. URLs with unapproved or invalid domains do not receive SLO logout messages.
This change is documented in the SAS 9.4M8 documentation: Central Authentication Service - Middle-Tier Administration Guide.
“Starting with SAS 9.4 M8, SAS uses CAS version 6.6 that calls Apache Commons Validator to validate SAS Web URLs. Only SAS web applications with valid URLs and valid domain names receive a SLO message.”
Note: Starting with SAS 9.4M8, local is not a valid internal domain name. Examples of valid internal domain names are as follows: localdomain and localhost.
This issue might manifest in various ways, depending on which application fails domain validation. Examples include the following:
This issue can affect pre-SAS 9.4M8 environments—for example, SAS® 9.4M6 (TS1M6) or SAS® 9.4M7 (TS1M7)—that were originally configured with unsupported or invalid domain names and then were upgraded in place (UIP) to SAS 9.4M8 as well as configured with the same invalid domains in the new SAS 9.4M8 environment.
The same issue can also affect new SAS 9.4M8 environments that were installed using an invalid domain name.
To assess whether an environment might be affected, complete the following steps:
If the login page is not displayed, this might indicate that the logout propagation failed due to domain validation.
To circumvent this issue, the M2K021 hot fix—Hot Fixes for SAS Middle Tier 9.4_M8—introduces the option to disable the domain validation function of SAS Central Authentication Service for those users who cannot change the domain name. (Note that you are unable to change the domain names easily.)
Complete the following step only to disable the domain validation function of SAS Central Authentication Service. You can skip this step to keep the default domain validation.
sas.url.validation.skipdomainvalidation=true