<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> </o:p></p>
<p class="MsoNormal">I am currently running Shibboleth 2.3.6 on Linux under JBOSS 5. 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. In the login.jsp I included the following<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><script type="text/javascript"><o:p></o:p></p>
<p class="MsoNormal"><!--<o:p></o:p></p>
<p class="MsoNormal">if (screen.width <= 700) {<o:p></o:p></p>
<p class="MsoNormal">window.location = "https://vushib-idp.vanderbilt.edu/idp/login-mobile.jsp";<o:p></o:p></p>
<p class="MsoNormal">}<o:p></o:p></p>
<p class="MsoNormal">//--><o:p></o:p></p>
<p class="MsoNormal"></script><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">where the login-mobile.jsp is a scaled down version of the login.jsp. The version of login.jsp before the addition of the above script was a modified version of the default login.jsp, which was working just fine. Now, when a user’s
browser is above 700 in width everything works fine. When I hit the threshold below 700 I get the shibboleth error page, no ERROR or WARNS in the idp-process log . 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> </o:p></p>
<p class="MsoNormal">FROM HTTPFox<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">00:01:51.122 0.219 620 1092 GET 302 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=<OMMIITED</a>> &RelayState=cookie%3A1366915521_73d9 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 0.226 1215 231 GET 302 Redirect to: https://vushib-idp-test.vanderbilt.edu:443/idp/AuthnEngine https://vushib-idp-test.vanderbilt.edu/idp/profile/SAML2/Redirect/SSO?SAMLRequest=<OMMITED>&RelayState=cookie%3A1366915521_73d9<o:p></o:p></p>
<p class="MsoNormal">00:01:51.642 0.035 671 231 GET 302 Redirect to: https://vushib-idp-test.vanderbilt.edu:443/idp/Authn/UserPassword https://vushib-idp-test.vanderbilt.edu/idp/AuthnEngine<o:p></o:p></p>
<p class="MsoNormal">00:01:51.694 0.187 678 200 GET 200 text/html https://vushib-idp-test.vanderbilt.edu/idp/Authn/UserPassword<o:p></o:p></p>
<p class="MsoNormal">00:01:51.971 0.053 619 (0) GET (Cache) text/html https://vushib-idp-test.vanderbilt.edu/idp/Authn/UserPassword<o:p></o:p></p>
<p class="MsoNormal">00:01:52.065 0.046 336 (1150) GET (Cache) image/x-icon https://vushib-idp-test.vanderbilt.edu/favicon.ico<o:p></o:p></p>
<p class="MsoNormal">00:01:52.069 0.087 481 223 GET 200 text/html https://vushib-idp.vanderbilt.edu/idp/login-mobile.jsp<o:p></o:p></p>
<p class="MsoNormal">00:01:52.250 0.029 467 623 GET 200 image/jpeg 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 0.048 481 4728 GET 200 image/jpeg 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 0.025 331 (1150) GET (Cache) image/x-icon https://vushib-idp.vanderbilt.edu/favicon.ico<o:p></o:p></p>
<p class="MsoNormal">00:01:52.331 0.033 301 (1150) GET (Cache) image/x-icon https://vushib-idp.vanderbilt.edu/favicon.ico<o:p></o:p></p>
<p class="MsoNormal">00:02:01.911 0.078 590 787 POST 200 text/html https://vushib-idp.vanderbilt.edu/idp/j_security_check<o:p></o:p></p>
<p class="MsoNormal">00:02:02.047 0.335 443 13926 GET 200 image/jpeg https://vushib-idp.vanderbilt.edu/idp/images/logo.jpg<o:p></o:p></p>
<p class="MsoNormal">00:02:02.383 0.030 331 (1150) GET (Cache) image/x-icon
<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> </o:p></p>
<p class="MsoNormal">When I inspect login-mobile.jsp entry above I see the following. For cookies<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Sent: JSESSIONID and _utma<o:p></o:p></p>
<p class="MsoNormal">Received: JESSIONID<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I noticed on a good attempt I also have _<i>idp</i>_session and/or _<i>idp_athn_ic</i>_key.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </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> </o:p></p>
<p class="MsoNormal">If you need for me to post login.jsp and login-mobile.jsp I can do that as well.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks for your time,<br>
Lee Brewer<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>