摘要 |
A communication device that includes an authentication unit that authenticates a wireless communication device depending on whether a predetermined authentication condition is satisfied, and a relay unit that relays communication performed by the wireless communication device when the authentication unit successfully authenticates the wireless communication device, comprising: an information transmission and reception unit receiving connected-terminal information, which includes identification information identifying the wireless communication device whose communication is being relayed, held by other communication devices; a recording unit recording the received connected-terminal information; a judging unit judging, when a connection request is received from the wireless communication device, whether the identification information identifying the wireless communication device is included in the recorded connected-terminal information; and a permitting unit permitting relaying of communication performed by the wireless communication device when the identification information of the wireless communication device is included in the recorded connected-terminal information. |