Add an image to a custom login form

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

Steps

  1. Place the image file in an appropriate subdirectory under junction-root. We 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

    We 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 we 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
    When setting the permissions on the Unauthenticated ACL entry, we 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 the unauthenticated permission is inherited to this point). For example:
    pdadmin> acl attach /WebSEAL/abc.ibm.com-default/icons icons-acl

Parent topic: HTML server response page modification