Connect to wireless network without password
Yes, it's possible on Macs as well as Windows.

The router is doing the control of who can get in without a passcode. Just perform the same action on the router to get it to suspend the password for the next client and let the mac be the next to join the WiFi network.

Use AirPort Utility to Add Wireless Clients... from the Base Station menu for your router...