Configuring the local portal server, Configuration prerequisites – H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 175

161
</html>
Redirecting authenticated users to a specific web page
To make the device automatically redirect authenticated users to a specific web page, do the following
in logon.htm and logonSuccess.htm:
1.
In logon.htm, set the target attribute of Form to blank.
See the contents in gray:
<form method=post action=logon.cgi target="blank">
2.
Add the function for page loading pt_init() to logonSucceess.htm.
See the contents in gray:
<html>
<head>
<title>LogonSuccessed</title>
<script type="text/javascript" language="javascript"
src="pt_private.js"></script>
</head>
<body onload="pt_init();" onbeforeunload="return pt_unload();">
... ...
</body>
</html>
NOTE:
•
H3C recommends using browser IE 6.0 or above on the authentication clients.
•
Make sure that the browser of an authentication client permits pop-ups or permits pop-ups from the
access device. Otherwise, the user cannot log off by closing the logon success or online page and can
only click Cancel to return back to the logon success or online page.
•
If a user refreshes the logon success or online page, or jumps to another web site from either of the
pages, the device also logs off the user.
•
Only IE, Firefox, and Safari browsers support the device to log off the user when the user closes the logon
success or online page. Other browsers, such as Chrome and Opera do not support this function.
Configuring the local portal server
To make the local portal server take effect, you must specify the protocol to be used for communication
between the portal client and local portal server.
Configuration prerequisites
To configure the local portal server to support HTTPS, complete these configurations at first:
•
Configure PKI policies, obtain the CA certificate, and apply for a local certificate. For more
information, see "Configuring PKI."
•
Configure the SSL server policy, and specify the PKI domain to be used, which is configured in the
above step. For more information, see "Configuring SSL."
When you specify the protocol for the local portal server to support, the local portal server will load the
default authentication page file, which is supposed to be saved in the root directory of the device.
Therefore, to make sure that the local portal server uses the user-defined default authentication pages,
you need to edit and save them properly. Otherwise, the system default authentication pages are used.
- H3C WX5500E Series Access Controllers H3C WX3500E Series Access Controllers H3C WX2500E Series Access Controllers H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C LSWM1WCM10 Access Controller Module H3C LSUM3WCMD0 Access Controller Module H3C LSUM1WCME0 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C WA3600 Series Access Points H3C WA2600 Series WLAN Access Points H3C S10500 Series Switches H3C S5800 Series Switches H3C S5820X Series Switches H3C S12500 Series Switches H3C S9500E Series Switches H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C SR8800 H3C SR6600-X H3C SR6600 H3C SecPath F5020 H3C SecPath F5040 H3C VMSG VFW1000