Because Adobe currently don’t support Kerberos in Flex, that limits the ability to do cool Single Sign On stuff through Air and on various sites.
So, how to solve this? Well, this is just a theory, but it seems to work ok on paper.
The basic idea is that you have something else do the authentication, and generate a One Time Key. That Key is then passed to your Flex app (eg via the Command Line for Air, or a Flashvar in the browser), which then uses this OTK to authenticate and grab a Session key like you normally would.
The point of using a One Time Key which is then discarded after use, is so that someone malicious can’t grab (say) your process list and reuse that authentication token.
So, for Windows Air clients – you could build a quick-and-dirty preloader (.NET makes this really easy) which does your Kerberos authentication using (say) your Windows Identity against Active Directory.
For Mac Air clients – You’d also need to build a preloader (Mono?
). Whether you can achieve SSO this way would depend on how the OSX Identity stuff works under a domain (or the equivilent analog in OSX world) model, but at the very least you could do your Kerberos authentication here.
And for Server-side components, well, that’s pretty damn obvious – you generate the OTK on the server and deliver it down (over SSL!) as part of the page.
Anyway, hope this helps someone who’s pondering the way to solve this.