Please follow these instructions to install and configure the CAS ISAPI Filter for IIS Web Sites and ASP applications.
Parameter |
Description |
Default |
---|---|---|
CAS Server URL |
The base URL of the CAS server |
https://cas.ucdavis.edu/cas |
Session Timeout |
The time in minutes each local session should last before requiring a roundtrip to the CAS server to confirm authenticated status. |
4 hours (240 minutes) |
Cache Clean Timeout |
The time to wait between cleanings of the authentication cache. If you experience out of memory errors, decrease this. |
1 hour (60 minutes) |
URL(s) |
Strings to match against requested URLS. When matched, CAS authentication is enforced. |
/ (Matches all URLs) |
CAS Login Path |
The path to the login URL on the CAS server |
login |
CAS Validation Path |
The path to the validation URL on the CAS server |
serviceValidate |
Service URL |
When set, users will be directed back to this URL during the initial authentication step. |
not set |
Authentication Header |
The request header that receives the authenticated user ID. |
CASUser |
Windows Server 2008 |
Windows Server 2003 and earlier |
---|---|
|
|
That's it! Test your new protection scheme by using a Web browser to try and access a URL on your Web server with one of the protected path settings you set in this installer. It should redirect you to your CAS authentication server. You can also verify that the dll was loaded correctly by following steps a-f above and checking the status of the recently entered filter. It should have a green arrow to the left pointing up. If not, something would not let the filter load. Check the configuration file and all relevant files listed therein, as well as the location of the dll.
The CAS ISAPI module sets the "CASUser" header by default, this can be overridden during the installation process. In any server-side processing script (ASP, ASP.NET, .NET, Cold Fusion) you will be able to access this variable to get the authenticated user id.
Do not use "remote_user" as the header value, Windows asserts complete control over this header and any settings by the ISAPI module will be discarded by Windows. |
The CAS client configuration can be edited after installation via a registry editor like regedit. To access the CAS ISAPI module settings, browse to: /HKEY_LOCAL_MACHINE/SOFTWARE/CASAuthN It is possible to set up more than four path matching expressions using this method. The ISAPI module can handle up to ten (10) path expressions.
Registry settings are loaded at module initialization. Therefore, you must restart IIS after editing the configuration via a registry editor in order for the module to register the changes. |