I have a well running 3-tier web application in a Windows 2003 domain. The Internet-Explorer Clients call aspx-pages ont he webserver. The webserver then performs a DCOM call to a document management server using impersonation. It all works fine using only aspx pages. Checking the thread principal before doing the call to DCOM shows me the correct Windows-User on the client machine and the Authentication-Type "Kerberos".
Here comes the problem:
There is a java-applet (which is a third party thing) in one of the webpages to allow the user to drag documents onto it and then it calls an aspx page to upload the document.
Checking the thread principal before doing the call to DCOM shows me
the correct Windows-User on the client machine but the
Authentication-Type "NTLM". The thread now tries to call DCOM using the "Anonymous" user (I see this in the eventlog of the server that hosts the DCOM object) and throws an exception when i call Activator.CreateInstance(type). Looks like the classic "Double-Hop-Issue".
Any ideas how to fix this or work around it?