A "security context" error occurs when you access the Settings tab for the Logon Manager properties in SAS® Management Console


In SAS Management Console, the following error might occur when you attempt to access the Settings tab in the SAS Logon Manager Properties dialog box:

Could not find a security context. Settings which require secure connections to the middle tier
will not display or update correctly. Ensure that your middle tier is running then reconnect
SAS Management Console.


The Settings tab in question is accessed as follows:

  1. Log on to SAS Management Console as the unrestricted user (for example, sasadm@saspw).
  2. Select Application Management ► SAS Application Infrastructure.
  3. Right-click Logon Manager 9.3 and select Properties.
  4. In the properties dialog box, click the Settings tab.


This error occurs if the web application server on your middle tier is not started. To correct the problem, ensure that the SAS services and servers, along with your middle tier's web application server, are all started successfully. Then reconnect to SAS Management Console.

You can solve the problem by clicking the OK button in the dialog box. When you do that, the settings on the tab display correctly.

In addition, the error might occur when you configure SAS to use the Apache proxy server and the appropriate comment delimiters in the following section in the Apache mod_jk uriworkermap.properties file are not removed:

# uncomment the next two entries if the site is hosting a SAS solution
# that has desktop applications that access the SAS Web applications
# /SASWIPClientAccess=sasserver1
# /SASWIPClientAccess/*=sasserver1


To correct the problem, remove the comment delimiters from the last two lines, as shown here:

# uncomment the next two entries if the site is hosting a SAS solution
# that has desktop applications that access the SAS Web applications
/SASWIPClientAccess=sasserver1
/SASWIPClientAccess/*=sasserver1