Capsman 4-way handshake

When an AP is connected to capsman. where is the WPA 4-way handshake done.
Is it now done by the capsman controller?
or is it done on the AP.

The AP.