<div dir="ltr">Unfortunately, I do not.  That is a risk that occurs when you enter the "Impl" areas of code, you effectively take over responsibility for maintaining compatibility with the rest of the product.<div><br></div><div>Looking at the different between the 4.x and 5.x class documentation, the one tip I can offer would be this one:</div><div><br></div><div>Remember that V5 of the IDP requires  Servlet API 5.0 calls, so anything using (among other things) javax.servlet.* classes will not work without modification.</div><div><br></div><div>See also:  <a href="https://shibboleth.atlassian.net/wiki/spaces/IDP5/pages/3199500962/Moving+to+Suppliers+for+accessing+HttpServlet+Objects">https://shibboleth.atlassian.net/wiki/spaces/IDP5/pages/3199500962/Moving+to+Suppliers+for+accessing+HttpServlet+Objects</a></div><div><br></div><div>Steve.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 14, 2024 at 8:40 AM Käfer Thomas <<a href="mailto:thomas.kaefer@fh-campuswien.ac.at">thomas.kaefer@fh-campuswien.ac.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg5957570744562941599">




<div dir="ltr">
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
Hello Steven,</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
thank you for your quick reply, that helped a lot!</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
I also found that my modified "ExternalAuthenticationImpl" doesn't fit the current interface anymore, do you know of any examples working with IDP5?</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
Thank you,</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
kind regards,</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
Thomas Käfer</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
FH-Campus Wien</div>
<div id="m_5957570744562941599appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="m_5957570744562941599divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Steven Premeau <<a href="mailto:steven.premeau@maine.edu" target="_blank">steven.premeau@maine.edu</a>><br>
<b>Gesendet:</b> Freitag, 14. Juni 2024 13:15<br>
<b>An:</b> Shib Users <<a href="mailto:users@shibboleth.net" target="_blank">users@shibboleth.net</a>><br>
<b>Cc:</b> Käfer Thomas <<a href="mailto:thomas.kaefer@fh-campuswien.ac.at" target="_blank">thomas.kaefer@fh-campuswien.ac.at</a>>; Fleissner Gregor <<a href="mailto:gregor.fleissner@fh-campuswien.ac.at" target="_blank">gregor.fleissner@fh-campuswien.ac.at</a>><br>
<b>Betreff:</b> Re: IDP5 Java CookieManager?</font>
<div> </div>
</div>
<div>
<div dir="ltr">There is definitely still a CookieManager class in IDP5.
<div><br>
</div>
<div>I did not use the class in  IDP5, but I suspect your issue is caused by the reorganization that occurred for IDP5.</div>
<div><br>
</div>
<div>The current class can be found at net.shibboleth.shared.net.CookieManager.</div>
<div><br>
</div>
<div><a href="https://shibboleth.net/api/java-shib-shared/9.1.2/net/shibboleth/shared/net/CookieManager.html" target="_blank">https://shibboleth.net/api/java-shib-shared/9.1.2/net/shibboleth/shared/net/CookieManager.html</a><br>
</div>
<div><br>
</div>
<div>Steve.</div>
</div>
<br>
<div>
<div dir="ltr">On Fri, Jun 14, 2024 at 6:26 AM Käfer Thomas via users <<a href="mailto:users@shibboleth.net" target="_blank">users@shibboleth.net</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div dir="ltr">
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
Hello everyone!</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
I'm currently upgrading our Shibboleth test server from IDP 4 to 5. We are using a custom:</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
`class AuthFunction implements Function<ProfileRequestContext<AuthnRequest, String>, Object>`</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
that sends credentials to a custom auth web service and recieves session keys which it writes to a cookie which it also reads back before asking the user for his credentials to achieve single signon with various other web applications that use the same auth-service
 & cookie.</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
The cookie functionality of this AuthFunction class was based on `net.shibboleth.utilities.java.support.net.CookieManager` injected using</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
@Autowired</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
@Qualifier("shibboleth.CookieManager")</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
CookieManager cm;</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
Sadly, since the upgrade to IDP5 this class seems to be no longer available, my log contains:</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
java.lang.ClassNotFoundException: net.shibboleth.utilities.java.support.net.CookieManager</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
Can I re-add it as a jar package or is there maybe some replacement for this utility I could now use instead to read and write cookies?</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
Thank you for reading,</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
Kind regards,</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
Thomas Käfer</div>
<div style="font-family:Verdana,Geneva,sans-serif;font-size:10pt;color:rgb(0,0,0)">
FH Campus Wien</div>
<div style="font-size:10pt;font-family:Verdana,sans-serif">
<p>Informationen zum Datenschutz: <a href="http://www.fh-campuswien.ac.at/datenschutzerklaerung" target="_blank">
www.fh-campuswien.ac.at/datenschutzerklaerung</a> </p>
</div>
</div>
-- <br>
For Consortium Member technical support, see <a href="https://shibboleth.atlassian.net/wiki/x/ZYEpPw" rel="noreferrer" target="_blank">
https://shibboleth.atlassian.net/wiki/x/ZYEpPw</a><br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net" target="_blank">
users-unsubscribe@shibboleth.net</a><br>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
<span>-- </span><br>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div style="color:rgb(136,136,136);font-size:12.8px">Steven Premeau, Director of Enterprise Systems Architecture & Administration</div>
<div style="color:rgb(136,136,136);font-size:12.8px"><span style="font-size:12.8px">University of Maine System</span>: Information Technology</div>
<div style="color:rgb(136,136,136);font-size:12.8px">(207) 581-5836 (desk) | (207) 944-9391 (mobile)<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

</div></blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="color:rgb(136,136,136);font-size:12.8px">Steven Premeau, Director of Enterprise Systems Architecture & Administration</div><div style="color:rgb(136,136,136);font-size:12.8px"><span style="font-size:12.8px">University of Maine System</span>: Information Technology</div><div style="color:rgb(136,136,136);font-size:12.8px">(207) 581-5836 (desk) | (207) 944-9391 (mobile)<br></div></div></div></div></div></div>