a posting on the developmentor list about troubleshooting web service to web service authentication problems made me release this code i wrote a while ago.
this is basically a port of keith brown’s showcontexts.aspx to a web service.
build the service and disable anonymous authentication on the virtual directory. the client shows several authentication variations including impersonation – you can also play around with web.config settings.
the service returns the three identitities we have to cope with in asp.net.
- the managed identity (user.identity)
- the process identity
- the thread identity