<html 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 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Aptos;
panose-1:2 11 0 4 2 2 2 2 2 4;}
@font-face
{font-family:"\@DengXian";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:12.0pt;
font-family:"Aptos",sans-serif;
mso-ligatures:standardcontextual;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Aptos",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#467886" vlink="#96607D" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">We are using Shibboleth to authenticate Java Web application users in our environment. React is used to program the front end and SpringBoot-based Java applications service requests.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">An Apache Web server plus Shibboleth Service Provide version 3.4.1. are in front of Java applications. The data path is as follows:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">User -> Amazon Application Load Balancer (ALB) ->Apache Web server +Shibboleth Service Provider -> SpringBoot-Based Java applcations.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">The timeout of session in Shibboleth service provider is 1800 seconds, The IDP timeout is 8 hours. Sticky session is set on ALB and timeout is set to 3600 seconds.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">The problem is that users reported their session of Shibd timeout within minutes and the issue repeated when it happened. In transaction.log of Shibd I found the same session was removed 5 times.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt">2024-10-03 17:31:51</span></b><span style="font-size:11.0pt"> INFO Shibboleth.SessionCache [72] [shib-erp]:
<b>removed session</b> (_f4555676a9d68271898dd1d39568afda)<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt">2024-10-03 17:31:51</span></b><span style="font-size:11.0pt"> INFO Shibboleth.SessionCache [50] [shib-erp]:
<b>removed session</b> (_f4555676a9d68271898dd1d39568afda)<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt">2024-10-03 17:31:51</span></b><span style="font-size:11.0pt"> INFO Shibboleth.SessionCache [51] [shib-erp]:
<b>removed session</b> (_f4555676a9d68271898dd1d39568afda)<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt">2024-10-03 17:31:51</span></b><span style="font-size:11.0pt"> INFO Shibboleth.SessionCache [73] [shib-erp]:
<b>removed session</b> (_f4555676a9d68271898dd1d39568afda)<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt">2024-10-03 17:31:51</span></b><span style="font-size:11.0pt"> INFO Shibboleth.SessionCache [58] [shib-erp]:
<b>removed session</b> (_f4555676a9d68271898dd1d39568afda)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">although the user did not click Logout button at all. I wonder why the Shibboleth Service Provider removed the session 5 times. Did it do that way or the front end ALB sent a single to the Shibboleth Service
Provider so that it removed the session 5 times? If a session is removed for the first time, the following removals should have thrown errors because the session did not exist at all.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Any thoughts are appreciated.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">John W.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
</body>
</html>