主权项 |
1. A method for implementing communication in a wireless local area network (WLAN), wherein the method comprises:
receiving, by a routing device, a packet from an authentication server, wherein the packet carries an identifier of a user terminal and a pairwise master key (PMK) corresponding to the identifier of the user terminal and wherein the routing device is an endpoint that initiates Extensible Authentication Protocol (EAP) authentication and manages the user terminal; obtaining, by the routing device, the identifier of the user terminal and the PMK from the packet; sending, by the routing device, a control message to an access controller (AC), wherein the control message carries the identifier of the user terminal and the PMK, the AC manages an access point (AP), and the user terminal accesses the WLAN by using the AP; and receiving, by the routing device, a response message from the AC, wherein the response message is used to respond to the control message. |