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
- 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/iconsYou 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"> - 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 - 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 theiconsdirectory). The minimum permission required are "Tr" for both Unauthenticated and Any-other.For example:
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.pdadmin> acl show icons-acl ACL name: icons-acl Description: Entries: Any-other Tr Unauthenticated Tr User sec_master TcmdbsvaBRrl - For this example, attach this ACL explicitly to the
iconsdirectory (or ensure that the unauthenticated permission is inherited to this point).For example:pdadmin> acl attach /WebSEAL/abc.ibm.com-default/icons icons-acl