<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;">Setting up a test system here with ADFS and Shib SP. Both reside on the same box. After some screwing around I get the 2 systems to talk. I setup a claim rule in ADFS for SN. When I hit the session page I see this:</div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"><br></div><div style="background-color: transparent; font-style: normal; color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif;"><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.571428298950195px; font-style: normal;"><b>Session Summary:</b></div><div><pre style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.571428298950195px; font-style: normal; white-space:
pre-wrap;"><u>Miscellaneous</u>
<strong>Client Address:</strong> 10.152.139.47
<strong>Identity Provider:</strong> <a href="http://portal-test.portaltest.lyndadev.com/adfs/services/trust" target="_blank" style="color: rgb(17, 85, 204);">http://Portal-Test.portaltest.<wbr>lyndadev.com/adfs/services/<wbr>trust</a>
<strong>SSO Protocol:</strong> urn:oasis:names:tc:SAML:2.0:<wbr>protocol
<strong>Authentication Time:</strong> 2013-04-12T15:48:09.423Z
<strong>Authentication Context Class:</strong> urn:federation:authentication:<wbr>windows
<strong>Authentication Context Decl:</strong> (none)
<strong>Session Expiration (barring inactivity):</strong> 479 minute(s)
<u>Attributes</u>
<strong>sn</strong>: User</pre><pre style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.571428298950195px; font-style: normal; white-space: pre-wrap;"><br></pre><pre style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.571428298950195px; font-style: normal; white-space: pre-wrap;">So SN is passing. But it is not in the headers. I used a simple ASP header dump:</pre><pre style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.571428298950195px; font-style: normal; white-space: pre-wrap;"><br></pre><pre style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 16px;"><font color="#222222"><span style="white-space: pre-wrap;"><html><body><%for each x in Request.ServerVariables response.write(x & " = " & Request.ServerVariables(x) & "<br/>")next%></body></html></span></font><font color="#222222"
face="arial, sans-serif" size="2"><span style="white-space: pre-wrap;"><br></span></font></pre><pre style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 16px;"><font color="#222222"><span style="white-space: pre-wrap;">I would expect to see HTTP_SN with a value of User, but what I get is this:</span></font></pre><pre style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 16px;"><font color="#222222"><span style="white-space: pre-wrap;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">ALL_HTTP = HTTP_CONNECTION:keep-alive HTTP_ACCEPT:text/html,</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">application/xhtml+xml,</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px;
white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">application/xml;q=0.9,*/*;q=0.</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">8 HTTP_ACCEPT_ENCODING:gzip, deflate HTTP_ACCEPT_LANGUAGE:en-US,en;</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">q=0.5 HTTP_COOKIE:ASP.NET_SessionId=</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">wp100rqlkgvdyyzc1lbooelm; _shibsession_</span><wbr style="font-family: arial, sans-serif;
font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">64656661756c7468747470733a2f2f</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">706f7274616c746573742e6c796e64</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">616465762e636f6d2f73686962626f</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">6c6574682d7370=_</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px;
white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">d92e96baf2a99a766d4f9559f83b8b</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">ed HTTP_HOST:</span><a href="http://portaltest.lyndadev.com/" target="_blank" style="color: rgb(17, 85, 204); font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">portaltest.lyndadev.<wbr>com</a><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">HTTP_USER_AGENT:Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0 </span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px;
white-space: normal;">ALL_RAW = Connection: keep-alive Accept: text/html,application/xhtml+</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">xml,application/xml;q=0.9,*/*;</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">q=0.8 Accept-Encoding: gzip, deflate Accept-Language: en-US,en;q=0.5 Cookie: ASP.NET_SessionId=</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">wp100rqlkgvdyyzc1lbooelm; _shibsession_</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px;
white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">64656661756c7468747470733a2f2f</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">706f7274616c746573742e6c796e64</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">616465762e636f6d2f73686962626f</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">6c6574682d7370=_</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span
style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">d92e96baf2a99a766d4f9559f83b8b</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">ed Host: </span><a href="http://portaltest.lyndadev.com/" target="_blank" style="color: rgb(17, 85, 204); font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">portaltest.lyndadev.com</a><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"> User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0 </span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space:
normal;">APPL_MD_PATH = /LM/W3SVC/1/ROOT/portal</span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">APPL_PHYSICAL_PATH = C:\Lynda\Lynda.Web.Portal\</span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">AUTH_TYPE = </span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">AUTH_USER = </span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">AUTH_PASSWORD
= </span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">LOGON_USER = </span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">REMOTE_USER = </span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">CERT_COOKIE = </span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">CERT_FLAGS = </span><br style="font-family: arial, sans-serif; font-size:
12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">CERT_ISSUER = </span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">CERT_KEYSIZE = </span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">CERT_SECRETKEYSIZE = </span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">CERT_SERIALNUMBER = </span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span
style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">CERT_SERVER_ISSUER = </span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">CERT_SERVER_SUBJECT = </span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">CERT_SUBJECT = </span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">CONTENT_LENGTH = 0</span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size:
12.571428298950195px; white-space: normal;">CONTENT_TYPE = </span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">GATEWAY_INTERFACE = CGI/1.1</span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">HTTPS = off</span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">HTTPS_KEYSIZE = </span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">HTTPS_SECRETKEYSIZE
= </span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">HTTPS_SERVER_ISSUER = </span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">HTTPS_SERVER_SUBJECT = </span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">INSTANCE_ID = 1</span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">INSTANCE_META_PATH = /LM/W3SVC/1</span><br style="font-family: arial,
sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">LOCAL_ADDR = 10.152.139.47</span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">PATH_INFO = /portal/a.aspx</span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">PATH_TRANSLATED = C:\Lynda\Lynda.Web.Portal\a.</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">aspx</span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px;
white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">QUERY_STRING = </span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">REMOTE_ADDR = 10.152.139.47</span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">REMOTE_HOST = 10.152.139.47</span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">REMOTE_PORT = 50090</span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial,
sans-serif; font-size: 12.571428298950195px; white-space: normal;">REQUEST_METHOD = GET</span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">SCRIPT_NAME = /portal/a.aspx</span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">SERVER_NAME = </span><a href="http://portaltest.lyndadev.com/" target="_blank" style="color: rgb(17, 85, 204); font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">portaltest.lyndadev.com</a><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">SERVER_PORT =
80</span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">SERVER_PORT_SECURE = 0</span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">SERVER_PROTOCOL = HTTP/1.1</span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">SERVER_SOFTWARE = Microsoft-IIS/7.5</span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">URL = /portal/a.aspx</span><br style="font-family: arial,
sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">HTTP_CONNECTION = keep-alive</span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">HTTP_ACCEPT = text/html,application/xhtml+</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">xml,application/xml;q=0.9,*/*;</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">q=0.8</span><br style="font-family: arial, sans-serif; font-size:
12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">HTTP_ACCEPT_ENCODING = gzip, deflate</span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">HTTP_ACCEPT_LANGUAGE = en-US,en;q=0.5</span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">HTTP_COOKIE = ASP.NET_SessionId=</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">wp100rqlkgvdyyzc1lbooelm; _shibsession_</span><wbr style="font-family: arial, sans-serif; font-size:
12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">64656661756c7468747470733a2f2f</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">706f7274616c746573742e6c796e64</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">616465762e636f6d2f73686962626f</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">6c6574682d7370=_</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space:
normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">d92e96baf2a99a766d4f9559f83b8b</span><wbr style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">ed</span><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">HTTP_HOST = </span><a href="http://portaltest.lyndadev.com/" target="_blank" style="color: rgb(17, 85, 204); font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;">portaltest.lyndadev.com</a><br style="font-family: arial, sans-serif; font-size: 12.571428298950195px; white-space: normal;"><span style="font-family: arial, sans-serif; font-size: 12.571428298950195px;
white-space: normal;">HTTP_USER_AGENT = Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0</span><br></span></font></pre><pre><font color="#222222" face="arial, sans-serif"><span style="white-space: normal;">No SN header there anywhere...</span></font></pre><pre><font color="#222222" face="arial, sans-serif"><span style="white-space: normal;">This is a REALLY simple testing rig. The config is based on what I run in production here sans added metadata for other IDps etc.</span></font></pre><pre><font color="#222222" face="arial, sans-serif"><span style="white-space: normal;">What am I missing?</span></font></pre></div></div></div></body></html>