url-template (Portal server profile view)
Function
The url-template command binds a URL template to a Portal server profile.
The undo url-template command unbinds a URL template from a Portal server profile.
By default, no URL template is bound to a Portal server profile.
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 to 16 plain-text characters or 48 cipher-text characters. |
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 redirection URL.
To ensure security, you can encrypt the parameter information in the URL template bound to the Portal server profile.
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 (Portal server profile view) command is executed to configure the redirection URL corresponding to the Portal authentication server, only the parameters in the URL template take effect.
The URL configured using the url (URL template view) command in the URL template view cannot be a pushed URL; otherwise, the command does not take effect.
The device support encryption of parameter information in the URL template only when it connects to the Huawei Agile Controller-Campus.