Patent ID: 9571503
Date: 2017-02-14
CPC Classifications: H04L,H04W

Claim:
1. A method of connecting to a communication network by using an electronic device, the method comprising: detecting whether an access point (AP) requires a captive portal authentication before establishing a communication with the AP; retrieving AP profile information when the AP requires the captive portal authentication; detecting, based on the retrieved AP profile information, whether the captive portal authentication was successful in a previous communication with the AP; connecting the electronic device to the AP when the captive portal authentication was successful in the previous communication; and limiting an access to the AP when the captive portal authentication was not successful in the previous communication, wherein limiting access to the AP further comprises at least one of: wherein detecting whether an AP requires captive portal authentication further comprises: detecting that the AP requires the captive portal authentication when a message is received from the AP indicating a switch to an authentication server configured to execute captive portal authentication, and detecting that the at least one AP does not use the captive portal authentication when no message is received from the AP.