Fast authentication is a simplified form of web authentication in which a user accesses the authentication page of a web server for authentication, without entering the username or password. The BRAS automatically generates the username and password for authentication based on information about the BAS interface that the user accesses. Fast authentication is a combination of web authentication and binding authentication.
The following describes the user login and logout processes using fast authentication.
As shown in Figure 1 User login process, the user sends a DHCP Discover message to the BRAS. After receiving the message, the BRAS creates a user entry, assigns an IP address to the user through DHCP, and grants permissions that allow the user to access only limited network resources. The user can access only the specified web page. If the user accesses other web pages, the user is redirected to the web authentication page. On the web authentication page, the user can click the button indicating confirmation for authentication without entering the username or password. After the authentication is successful, the user can access network resources.
As shown in Figure 2, when the user needs to go offline, the user clicks the button indicating logout on the authentication result page to send a logout request to the web server. After accounting is complete, the user goes offline normally.
If a username template is bound to the BAS interface through which users go online using the default-user-name-template command, the system generates usernames based on the username template. If no username template is bound to the user access interface but a mode for generating pure usernames is configured using the default-user-name command in the AAA view, the system generates pure usernames based on the configured mode. If neither of the preceding configurations is available, the system generates usernames based on the default configuration. Interface-specific configuration applies only to the interface, whereas the default configuration and the configuration in the AAA view take effect globally.
A pure username can be generated using any of the following methods:
The system then generates a username based on the pure username, default authentication domain configured on the BAS interface, and domain name delimiter and position configured in the system. The username can be in either of the following formats: pure username+domain name delimiter+domain name (if the system is configured to place the domain name behind the domain name delimiter) or domain name+domain name delimiter+pure username (if the system is configured to place the domain name before the domain name delimiter).
You can run the default-password command to specify the mode in which the system automatically generates the password for an IPoX user. For example: