Sun Java System Access Manager Policy Agent 2.2 Guide for Microsoft IIS 6.0 With Outlook Web Access 2007/SharePoint 2007

ProcedureOutlook Web Access: To Modify the logoff.aspx File to Properly Handle the Logout Process

  1. Back up the file C:\Program Files\Microsoft\Exchange Server\ClientAccess\Owa\auth\logoff.aspx.

  2. Retrieve the cookie domain name as described in the substeps that follow.

    The cookie domain name you are retrieving in this step is required in the next step for the logoff.aspx file.

    1. Log in to Access Manager as amadmin.

    2. Select the Configuration tab.

    3. Scroll as necessary to click Platform under the System Properties section.

    4. In the Current Values list, take note of name of the appropriate cookie domain.

      The Current Values list is in the Cookie Domains section. The domain name you need to record for later use is the domain where Microsoft IIS 6.0 Server is installed and running.

  3. Replace the contents of the logoff.aspx file with the markup information provided in this step.

    In the markup information that follows, amHost.domain-name and agentHost.domain-name are place holders described in the task Outlook Web Access: To Create a Local Idle Session Timeout Page. In this case, cookie-domain is a place holder that you must replace with the cookie domain name retrieved in the previous step.

    <%@ Page language="c#" AutoEventWireup="false"  %>
    
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <%
    string str="owa";
    if (Request.Cookies["owaAuthCookie"] != null)
    {
        HttpCookie myCookie = new HttpCookie("owaAuthCookie","amOwaValue");
        myCookie.Expires = DateTime.Now.AddDays(-1d);
        myCookie.Domain = ".cookie-domain";
        myCookie.Path = "/";
        Response.Cookies.Add(myCookie);
    }
    %>
    <meta http-equiv="Refresh" content="0;url= 
    https://amHost.domain-name:443/amserver/UI/Logout?goto=
    https%3A%2F%2FagentHost.domain-name%3A443%2F<%=str%>%2F">
    </head>
    </html>
  4. Save and close the logoff.aspx file.

Next Steps

Now you can verify the installation of the agent as described in Microsoft Office SharePoint and Outlook Web Access: Verifying a Successful Agent Installation.