With the native Login Window client (UI) it was possible to authenticate to a Wi-Fi Enterprise network from the login window screen. If a profile with Login Window Mode ( 802.1X authentication) is applied via MDM or manually, there is shown a special pop-up menu right above the user name field.
But how can I implement similar functionality in a custom authorization plugin? I tried to add my own Wi-Fi selector calling the associateToEnterpriseNetwork
method of the CoreWLAN
framework, but from the login window context it always returns the error: code -3903 .
I called associateToEnterpriseNetwork
without specifing the indentity like this:
[interface associateToEnterpriseNetwork:network identity:nil username:myUsername password:myPassword error:&error];
Are there any other ways to add Wi-Fi enterprise support to authorization plugins? Maybe there're some standard ways to implement.
Thanks in advance!