SharePoint 2010 / SharePoint 2013 Fedauth and SessionID="True"
When you work with the fedauth cookie an issue might arise with the Size or information of the fedauth cookie. This could be the size of the cookie according to the information you put in to the claim or secondly the information itself in the cookie which might be sensitive (Privacy).
Now you might be thinking, the fedauth isn't readable? Copy the information in the cookie in a basedecoder and you will be able to read the information that is put in the identifying claim... and some more stuff!
According to a post published by Vittorio Bertocci you should be able to solve this by using the WIF functionality "IsSessionMode=True" and since SharePoint uses WIF..... (Windows Identity Foundation) We should be able to use this to in our SharePoint scenario's...
Wrong! We tried to get this to work (in various ways!) and quickly ran in to some strange situations wherein according to the post of Vittorio we should see it in action.
It just didn't work, then our friend Google and bing gave us a few promising leads but they didn't resolve the issue either. (Example:strackoverflow)
So we opened up a case with MS, the end results from the PG is that they don't support it and build a custom mechanism against / next to WIF that changes the behavior in such a way that it isn't possible to use "IsSessionMode=True".
We explicitly asked if there was an unsupported method to get it to work, but alas a definite "No" is the anwser. (since both SharePoint 2010 and 2013 use the same WIF version / code, it's futile to put effort in it)
I hope this will save some of you a lot of time, which would else be wasted.
Now you might be thinking, the fedauth isn't readable? Copy the information in the cookie in a basedecoder and you will be able to read the information that is put in the identifying claim... and some more stuff!
According to a post published by Vittorio Bertocci you should be able to solve this by using the WIF functionality "IsSessionMode=True" and since SharePoint uses WIF..... (Windows Identity Foundation) We should be able to use this to in our SharePoint scenario's...
Wrong! We tried to get this to work (in various ways!) and quickly ran in to some strange situations wherein according to the post of Vittorio we should see it in action.
It just didn't work, then our friend Google and bing gave us a few promising leads but they didn't resolve the issue either. (Example:strackoverflow)
So we opened up a case with MS, the end results from the PG is that they don't support it and build a custom mechanism against / next to WIF that changes the behavior in such a way that it isn't possible to use "IsSessionMode=True".
We explicitly asked if there was an unsupported method to get it to work, but alas a definite "No" is the anwser. (since both SharePoint 2010 and 2013 use the same WIF version / code, it's futile to put effort in it)
I hope this will save some of you a lot of time, which would else be wasted.
Reacties
Een reactie posten