Hi all
Inside IIS I have a virtual directory which is protected by basic authentication. What I want to do is allow the user to authenticate themselves, then use an aspx page to create a windows token and redirect the user to an xbap inside a virtual directory secured by windows authentication.
The reason behind using the initial aspx page is due to an RSA server. I've been told that we need to use basic authentication to allow the users to validate themselves against AD and the RSA server.
I have tried using the LogonUser Windows API call which returns a validated WindowsIndentity but I'm either told that I'm unable to use this form of impersonation, or I redirect at which point IIS then asks for credentials again meaning it doesn't see the Windows token.
I've set up the web.config in the aspx page to use Forms authentication although it is IIS doing the actual authenticating. I've tried also using the FormsAuthentication.SetAuthCookie but that doesn't do any good either.
Anyone have any ideas? Really stuck and I know this should be possible.
Thanks