Chapter 67
Clientless SSL VPN
•
Create the Custom Login Screen File
The following HTML code is used as an example and is the code that displays the screen shown in
Figure
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 3</title>
<base target="_self">
</head>
<p align="center">
<img border="0" src="/+CSCOU+/cisco_logo.jpg" width="188" height="48"><font face="Snap
ITC" size="6" color="#FF00FF">
</font><font face="Snap ITC" color="#FF00FF" size="7"> </font><i><b><font
color="#FF0000" size="7" face="Sylfaen"> SSL VPN Service by the Cisco
ASA5500</font></b></i></p>
The indented code injects the Login form and the Language Selector on the screen. The function
csco_ShowLoginForm('lform') injects the logon form. csco_ShowLanguageSelector('selector')
injects the Language Selector.
Follow these steps to modify your HTML file:
Name your file logon.inc. When you import the file, the adaptive security appliance recognizes this
Step 1
filename as the logon screen.
Modify the paths of images used by the file to include /+CSCOU+/.
Step 2
Files that are displayed to remote users before authentication must reside in a specific area of the
adaptive security appliance cache memory represented by the path /+CSCOU+/. Therefore, the source
for each image in the file must include this path. For example:
OL-20339-01
Configure the Security Appliance to use the Custom Login Screen
67-5:
<body onload="csco_ShowLoginForm('lform');csco_ShowLanguageSelector('selector')">
<table>
<tr><td colspan=3 height=20 align=right><div id="selector" style="width:
300px"></div></td></tr>
<tr><td></td><td></td><td></td></tr>
<tr>
<td height="379"></td>
<td height="379"></td>
<td align=middle valign=middle>
<div id=lform >
<p> </p>
<p> </p>
<p> </p>
<p>Loading...</p>
</div>
</td>
</tr>
<tr>
<td width="251"></td>
<td width="1"></td>
<td align=right valign=right width="800">
<img border="1" src="/+CSCOU+/asa5500.jpg" width="660" height="220" align="middle">
</td></tr>
</table>
Customizing the Clientless SSL VPN User Experience
Cisco ASA 5500 Series Configuration Guide using ASDM
67-47