Time to revisit the CERNSSO library! I need it for my IndicoWalker app.
First thing was to move it to use the new universal projects and PCL's. They have advanced significantly since I first wrote this code. In particular, it is now time to move to Windows.Net.Http, which involves a lot of changes. In particular, how the credentials are used.
The basic things are the same (see previous posts on CERNSSO). In particular, the fact that a Windows App has only the local cert store. What is nice, now, is that also exists on Windows Phone - so with 8.1 they are identical finally. It wasn't possible to do anything with certificate stores on WP previously.
But this makes me wonder. Why can't I add the cert and make the web request, allow redirects, and let the underlying system (which mimics a browser) just work? That would be a lot simpler than doing what I'm currently doing. Testing that is going to require some effort. :-)
Found some example code on accessing certificates and associating them with a request in the windows runtime here.
Another interesting possible question is: should I encode this logic in a IHttpFilter object? Is it built to do something that complex? See the stack overflow question I asked on this.















