<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
You can set up shibboleth with an apache httpd htpasswd file if you want to. It is supported as a authentication backend as far as I know.</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> users <users-bounces@shibboleth.net> im Auftrag von Gert Corthout via users <users@shibboleth.net><br>
<b>Gesendet:</b> Montag, 16. September 2024 13:30<br>
<b>An:</b> users@shibboleth.net <users@shibboleth.net><br>
<b>Cc:</b> Gert Corthout <gert.corthout@brepols.net><br>
<b>Betreff:</b> trying to set up a IDP for localhost testing</font>
<div> </div>
</div>
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
{color:#0563C1;
text-decoration:underline}
span.x_EmailStyle17
{font-family:"Calibri",sans-serif;
color:windowtext}
.x_MsoChpDefault
{font-size:11.0pt}
@page WordSection1
{margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.x_WordSection1
{}
-->
</style>
<div lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<p></p>
<div style="background-color:#ffeb9c; width:100%; padding:1pt; font-size:12pt; line-height:12pt; color:black; text-align:left; border:1pt solid #e60000">
<strong><span style="color:#e60000">WARNING:</span></strong> This email originated from outside of the Alpega Group. Do not click links or open attachments unless you recognize the sender and know the content is safe.</div>
<br>
<p></p>
<div>
<div class="x_WordSection1">
<p class="x_MsoNormal"><span lang="EN-GB">Hello all,</span></p>
<p class="x_MsoNormal"><span lang="EN-GB"> </span></p>
<p class="x_MsoNormal"><span lang="EN-GB">I am trying to set up an IDP for testing on localhost on windows. It can be very simple with just a static username/password. But I’m not getting this to work. I looked at the documentation (many times) but basically
I don’t seem to be able to find what I need. Copilot seems useless at this as well.</span></p>
<p class="x_MsoNormal"><span lang="EN-GB"> </span></p>
<p class="x_MsoNormal"><span lang="EN-GB">Is there somewhere a simple step by step guide to get this working? I’m not even succeeding in getting the Hello World module running.</span></p>
<p class="x_MsoNormal"><span lang="EN-GB"> </span></p>
<p class="x_MsoNormal"><span lang="EN-GB">I set up Tomcat 10.1, which seems to be running fine (the samples work).</span></p>
<p class="x_MsoNormal"><span lang="EN-GB">Installed the Shibboleth IDP with hostname localhost and EntityID localhost.</span></p>
<p class="x_MsoNormal"><span lang="EN-GB"> </span></p>
<p class="x_MsoNormal">Installed the hello world module:</p>
<p class="x_MsoNormal">bin\module.bat -t idp.admin.Hello || bin\module.bat -e idp.admin.Hello</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Installed the oidcommon module:</p>
<p class="x_MsoNormal">.\bin\plugin.bat -I net.shibboleth.oidc.common</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Run build.bat from the idp bin folder.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Copied the war file to the tomcat webapps.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Start the TomCat service.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Go to <a href="http://127.0.0.1:8080/idp/profile/admin/hello">
http://127.0.0.1:8080/idp/profile/admin/hello</a> -> Stale Request error</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Checking the logs:<br>
idp-process.log</p>
<p class="x_MsoNormal">2024-09-16 13:23:39,127 - 127.0.0.1 - ERROR [org.springframework.webflow.execution.repository.NoSuchFlowExecutionException:144] -
</p>
<p class="x_MsoNormal">org.springframework.webflow.execution.repository.NoSuchFlowExecutionException: No flow execution could be found with key 'e1s1' -- perhaps this executing flow has ended or expired? This could happen if your users are relying on browser
history (typically via the back button) that references ended flows.</p>
<p class="x_MsoNormal"> at org.springframework.webflow.execution.repository.support.AbstractFlowExecutionRepository.getConversation(AbstractFlowExecutionRepository.java:172)</p>
<p class="x_MsoNormal">Caused by: org.springframework.webflow.conversation.NoSuchConversationException: No conversation could be found with id '1' -- perhaps this conversation has ended?
</p>
<p class="x_MsoNormal"> at org.springframework.webflow.conversation.impl.ConversationContainer.getConversation(ConversationContainer.java:124)</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">I am sure there are many things I’m doing wrong (the documentation often seems to say I need to do X or Y, but then doesn’t go on to explain how I need to do X or Y), any help would be greatly appreciated.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"> </p>
</div>
</div>
</div>
</body>
</html>