<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">To all,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I am currently running Shibboleth 2.3.6 on Linux under JBOSS 5.&nbsp; I have been running it successfully for the last few years and I just made a change to the login.jsp page to accommodate mobile devices.&nbsp; In the login.jsp I included the following<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">&lt;script type=&quot;text/javascript&quot;&gt;<o:p></o:p></p>
<p class="MsoNormal">&lt;!--<o:p></o:p></p>
<p class="MsoNormal">if (screen.width &lt;= 700) {<o:p></o:p></p>
<p class="MsoNormal">window.location = &quot;https://vushib-idp.vanderbilt.edu/idp/login-mobile.jsp&quot;;<o:p></o:p></p>
<p class="MsoNormal">}<o:p></o:p></p>
<p class="MsoNormal">//--&gt;<o:p></o:p></p>
<p class="MsoNormal">&lt;/script&gt;<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">where the login-mobile.jsp is a scaled down version of the login.jsp.&nbsp; &nbsp;&nbsp;The version of login.jsp &nbsp;before the addition of the above script was a modified version of the default login.jsp, which was working just fine.&nbsp; Now, when a user&#8217;s
 browser is above 700 in width everything works fine.&nbsp; When I hit the threshold below 700 I get the shibboleth error page, no ERROR or WARNS in the idp-process log .&nbsp; Here is trace of the HTTP traffic (I still have the details of each step if needed).<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">FROM HTTPFox<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">00:01:51.122&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.219&nbsp;&nbsp;&nbsp;&nbsp; 620&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1092&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GET&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 302&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Redirect to:
<a href="https://vushib-idp-test.vanderbilt.edu/idp/profile/SAML2/Redirect/SSO?SAMLRequest=%3cOMMIITED">
https://vushib-idp-test.vanderbilt.edu/idp/profile/SAML2/Redirect/SSO?SAMLRequest=&lt;OMMIITED</a>&gt; &amp;RelayState=cookie%3A1366915521_73d9&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; https://sp.testshib.org/Shibboleth.sso/TestShib?entityID=https%3A%2F%2Fvushib-idp-test.vanderbilt.edu%2Fidp%2Fshibboleth<o:p></o:p></p>
<p class="MsoNormal">00:01:51.387&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.226&nbsp;&nbsp;&nbsp;&nbsp; 1215&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 231&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GET&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 302&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Redirect to: https://vushib-idp-test.vanderbilt.edu:443/idp/AuthnEngine https://vushib-idp-test.vanderbilt.edu/idp/profile/SAML2/Redirect/SSO?SAMLRequest=&lt;OMMITED&gt;&amp;RelayState=cookie%3A1366915521_73d9<o:p></o:p></p>
<p class="MsoNormal">00:01:51.642&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.035&nbsp;&nbsp;&nbsp;&nbsp; 671&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 231&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GET&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 302&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Redirect to: https://vushib-idp-test.vanderbilt.edu:443/idp/Authn/UserPassword&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; https://vushib-idp-test.vanderbilt.edu/idp/AuthnEngine<o:p></o:p></p>
<p class="MsoNormal">00:01:51.694&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.187&nbsp;&nbsp;&nbsp;&nbsp; 678&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 200&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GET&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 200&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; text/html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; https://vushib-idp-test.vanderbilt.edu/idp/Authn/UserPassword<o:p></o:p></p>
<p class="MsoNormal">00:01:51.971&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.053&nbsp;&nbsp;&nbsp;&nbsp; 619&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GET&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (Cache) text/html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; https://vushib-idp-test.vanderbilt.edu/idp/Authn/UserPassword<o:p></o:p></p>
<p class="MsoNormal">00:01:52.065&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.046&nbsp;&nbsp;&nbsp;&nbsp; 336&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (1150)&nbsp;&nbsp;&nbsp; GET&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (Cache) image/x-icon&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; https://vushib-idp-test.vanderbilt.edu/favicon.ico<o:p></o:p></p>
<p class="MsoNormal">00:01:52.069&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.087&nbsp;&nbsp;&nbsp;&nbsp; 481&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 223&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GET&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 200&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; text/html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; https://vushib-idp.vanderbilt.edu/idp/login-mobile.jsp<o:p></o:p></p>
<p class="MsoNormal">00:01:52.250&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.029&nbsp;&nbsp;&nbsp;&nbsp; 467&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 623&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GET&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 200&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; image/jpeg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; https://vushib-idp.vanderbilt.edu/idp/Login_vandy_files/images/headbg-ie6.jpg<o:p></o:p></p>
<p class="MsoNormal">00:01:52.253&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.048&nbsp;&nbsp;&nbsp;&nbsp; 481&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4728&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GET&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 200&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; image/jpeg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; https://vushib-idp.vanderbilt.edu/idp/Login_vandy_files/images/vanderbilt-university-bb.jpg<o:p></o:p></p>
<p class="MsoNormal">00:01:52.328&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.025&nbsp;&nbsp;&nbsp;&nbsp; 331&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (1150)&nbsp;&nbsp;&nbsp; GET&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (Cache) image/x-icon&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; https://vushib-idp.vanderbilt.edu/favicon.ico<o:p></o:p></p>
<p class="MsoNormal">00:01:52.331&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.033&nbsp;&nbsp;&nbsp;&nbsp; 301&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (1150)&nbsp;&nbsp;&nbsp; GET&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (Cache) image/x-icon&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; https://vushib-idp.vanderbilt.edu/favicon.ico<o:p></o:p></p>
<p class="MsoNormal">00:02:01.911&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.078&nbsp;&nbsp;&nbsp;&nbsp; 590&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 787&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; POST&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 200&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; text/html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; https://vushib-idp.vanderbilt.edu/idp/j_security_check<o:p></o:p></p>
<p class="MsoNormal">00:02:02.047&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.335&nbsp;&nbsp;&nbsp;&nbsp; 443&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 13926&nbsp;&nbsp;&nbsp; GET&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 200&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; image/jpeg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; https://vushib-idp.vanderbilt.edu/idp/images/logo.jpg<o:p></o:p></p>
<p class="MsoNormal">00:02:02.383&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.030&nbsp;&nbsp;&nbsp;&nbsp; 331&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (1150)&nbsp;&nbsp;&nbsp; GET&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (Cache) image/x-icon&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://vushib-idp.vanderbilt.edu/favicon.ico">https://vushib-idp.vanderbilt.edu/favicon.ico</a><o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">When I inspect login-mobile.jsp entry above I see the following.&nbsp;&nbsp; For cookies<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Sent:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; JSESSIONID and _utma<o:p></o:p></p>
<p class="MsoNormal">Received:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; JESSIONID<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I noticed on a good attempt I also have&nbsp; _<i>idp</i>_session and/or _<i>idp_athn_ic</i>_key.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Is this because of the additional login-mobile.jsp?<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">If you need for me to post login.jsp and login-mobile.jsp&nbsp; I can do that as well.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Thanks for your time,<br>
Lee Brewer<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>