< Home

url-template (Portal server template view)

Function

The url-template command binds a URL template to a Portal server template.

The undo url-template command unbinds a URL template from a Portal server template.

By default, no URL template is bound to a Portal server template.

Format

url-template url-template [ ciphered-parameter-name ciphered-parameter-name iv-parameter-name iv-parameter-name key cipher key-string ]

undo url-template

Parameters

Parameter

Description

Value

url-template

Specifies the name of a URL template.

The value must be an existing URL template name.

ciphered-parameter-name ciphered-parameter-name

Specifies the name of the encrypted URL template parameter.

The value is a string of 1 to 16.

iv-parameter-name iv-parameter-name

Specifies the encryption vector name of the URL template parameter.

The value is a string of 1 to 16.

key cipher key-string

Specifies the shared key for encrypting the URL template parameter.

The value is a string of 1-255 plain-text characters or 20 to 392 cipher-text characters.

Views

Portal server template view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the parameters of a URL template are configured, the URL template must be bound to a Portal authentication server template so that users can be authenticated on the Portal authentication server corresponding to the redirect URL.

To ensure security, you can encrypt the parameter information in the URL template bound to the Portal server template.

Prerequisites

A URL template has been created using the url-template name command.

Precautions

If a URL template is bound to the Portal authentication server template and the url command is executed to configure the redirect URL corresponding to the Portal authentication server, only the parameters in the URL template take effect.

The device support encryption of parameter information in the URL template only when it connects to the Huawei Agile Controller-Campus or iMaster NCE-Campus.

Example

# Bind the URL template abc to the Portal authentication server template.

<HUAWEI> system-view
[HUAWEI] url-template name abc
[HUAWEI-url-template-abc] quit
[HUAWEI] web-auth-server huawei
[HUAWEI-web-auth-server-huawei] url-template abc
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >