beautypg.com

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

Page 175

background image

161

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:

2.

Add the function for page loading pt_init() to logonSucceess.htm.
See the contents in gray:

LogonSuccessed

... ...

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.