Adding an image to a custom login form

About this task

When you customize a server response page, such as a login form, you can add images (graphics) to the page or form. Perform the following steps:

Procedure

  1. Place the image file in an appropriate subdirectory under junction-root. You can use the LMI to manage this directory. Go to the Manage Reverse Proxy Management Root page. A suggested location for the image might be:
    junction-root/icons

    You can use HTML code similar to the following example to describe the image in the custom login form:

    <image src="/icons/logo.jpg" alt="Company Logo">
  2. Ensure the definition of the image's file format is listed in the [content-mime-types] of the WebSEAL configuration file. For example:
    [content-mime-types] 
    jpg = image/jpeg
  3. Create an ACL that allows unauthenticated access to logo.jpg. Since this is the login page, there is no user ID established at the point of access. Therefore you must allow unauthenticated access to the image file object or directory object containing the image (such as the icons directory). The minimum permission required are "Tr" for both Unauthenticated and Any-other. For example:
    pdadmin> acl show icons-acl
    ACL name: icons-acl
    Description: 
    Entries:
       Any-other Tr
       Unauthenticated Tr
       User sec_master TcmdbsvaBRrl
    Note: When setting the permissions on the Unauthenticated ACL entry, you must have as a minimum the same permissions as the Any-other ACL entry.
  4. For this example, attach this ACL explicitly to the icons directory (or ensure that the unauthenticated permission is inherited to this point). For example:
    pdadmin> acl attach /WebSEAL/abc.ibm.com-default/icons icons-acl