<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">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 class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 14, 2024 at 6:26 AM Käfer Thomas via users <<a href="mailto:users@shibboleth.net">users@shibboleth.net</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="msg5233727343738250780">




<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 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>