<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;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Arial","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.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"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">I have setup a federation using Shib SP version 2.4.3 and Shib IdP version 2.3.6.&nbsp;
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">I currently have two directories protected by the SP, I&#8217;ll call them &#8220;secure1&#8221; and &#8220;secure2&#8221;.&nbsp; When I browse to pages inside of &#8220;secure1&#8221; or &#8220;secure2&#8221;, the SP redirects me
 to my IdP to authenticate if my user is not already authenticated &#8211; as I would expect. The issue (well, I&#8217;m writing to confirm whether this is an issue) I&#8217;m seeing is that the SP allows a user to access a protected resource even when the SAML assertion has
 expired.&nbsp; Here&#8217;s the scenario: I set the assertion lifetime to 5 minutes and leave the SP session at 8 hours. I then access a page inside of &#8220;secure1&#8221; and am redirected to the IdP to login (when I look at the assertion after login, I confirm that NotOnOrAfter
 is five minutes after IssueInstant).&nbsp; I let my browser sit for 10 minutes then browse to a page inside of &#8220;secure2&#8221;.&nbsp; Since the SAML assertion should have expired in this time, I would expect to be redirected to my IdP to login but I am not, instead I just
 see the protected page &#8211; and when I look at the Assertion, the time in &#8220;NotOnOrAfter&#8221; has passed &#8211; even when I take into consideration the clock skew.&nbsp;
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">The SAML 2.0 SSO profile requires the SP to &#8220;Verify that the NotOnOrAfter attribute in any bearer &lt;SubjectConfirmationData&gt; has not passed, subject to allowable clock skew
 between the providers&#8221;.&nbsp; Does this mean the SP should be directing me to the IdP whenever the assertion has expired (the value of &#8220;NotOnOrAfter&#8221; has passed)?&nbsp; Is it possible that I need to tweak a configuration on my SP to enable this behavior?&nbsp; I&#8217;ve read
 through all of the Shibboleth documentation and nothing is standing out as an obvious fix for the problem I&#8217;m seeing.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">-Andrew<o:p></o:p></span></p>
</div>
</body>
</html>