Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Please follow these instructions to install and configure the CAS ISAPI Filter for IIS Web Sites and ASP applications.

Download and Install MsXML 6.0 (If Necessary)

  1. Download the appropriate version of MsXML 6.0 for your architecture from http://www.microsoft.com/Downloads/details.aspx?familyid=993C0BCF-3BCF-4009-BE21-27E85E1857B1&displaylang=en
  2. Run the installer

...

Deploy the CAS Filter to your Web Site

Windows Server 2008

Windows Server 2003 and earlier

Windows Server 2008

  1. The Web Server and IIS Admin service must be stopped. Check the services dialog box and stop these services if they are running.
  2. Start the IIS Administrator Console
  3. Start the Internet Information Services (IIS) Manager
  4. Click on your server and select "Stop" from the Actions.
  5. Click on your Web server instance in your Console. The default title of your Web server instance is "Default Web Site", unless you changed it. It maybe hidden under "Console Root/Internet Information Server/NAME", where "NAME" is the name of your computer.
  6. Access the properties page via right click.
  7. Click on the "ISAPI Filters" tab.
  8. Click on .
  9. Select ISAPI Filters from the Features View.
  10. Select "Add..." from the Actions list and enter "CASAuthN" as the "Filter Name".
  11. Browse to the CASAuthN.dll.
    • Windows Server 2008 64-bit: It is installed with this path: "C:\WINDOWS\sysWOW64\inetsrv\CASAuthN.dll".
    • Windows Server 2008 32-bit: It is installed with this path: "C:\WINDOWS\system32\inetsrv\CASAuthN.dll".
  12. Click "Ok" on all dialogs until you are back at the IIS Administrator.
  13. Restart the IIS Web Service.
    1. Right click on the local computer in the IIS Adminstrator.
    2. Select All Tasks->Restart IISClick on the Web server instance.
    3. Select "Restart" from the Manage Server Actions section.
  1. The Web Server and IIS Admin service must be stopped. Check the services dialog box and stop these services if they are running.
  2. Start the Internet Information Services (IIS) ManagerIIS Administrator Console
  3. Click on your server and select "Stop" from the Actions.Click on your Web server instance in your Console. The default title of your Web server instance is "Default Web Site", unless you changed it.
  4. Select ISAPI Filters from the Features View.
  5. Select It maybe hidden under "Console Root/Internet Information Server/NAME", where "NAME" is the name of your computer.
  6. Access the properties page via right click.
  7. Click on the "ISAPI Filters" tab.
  8. Click on "Add..." from the Actions list and enter "CASAuthN" as the "Filter Name".
  9. Browse to the CASAuthN.dll. * Windows Server 2008 64-bit: It is installed with this path: "C:\WINDOWS\sysWOW64\inetsrv\CASAuthN.dll".* Windows Server 2008 32-bit and earlier: It is installed with this path: "C:\WINDOWS\system32\inetsrv\CASAuthN.dll".
  10. Click "Ok" on all dialogs until you are back at the IIS Administrator.
  11. Restart the IIS Web Service.
    1. Click on the Web server instance.
    2. Select "Restart" from the Manage Server Actions sectionRight click on the local computer in the IIS Adminstrator.
    3. Select All Tasks->Restart IIS.

Done!

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 loadis failing on initializationt. Check the configuration file registry keys and all relevant files listed therein , as well as the location of the dll. Please also consult the troubleshooting section for information on common errors.

Accessing the authenticated user id

...