<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<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: Verdana, Geneva, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
Hello Steven,</div>
<div class="elementToProof" style="font-family: Verdana, Geneva, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" 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 class="elementToProof" 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 class="elementToProof" style="font-family: Verdana, Geneva, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Verdana, Geneva, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
Thank you,</div>
<div class="elementToProof" style="font-family: Verdana, Geneva, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
kind regards,</div>
<div class="elementToProof" style="font-family: Verdana, Geneva, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
Thomas Käfer</div>
<div class="elementToProof" style="font-family: Verdana, Geneva, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
FH-Campus Wien</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> Steven Premeau <steven.premeau@maine.edu><br>
<b>Gesendet:</b> Freitag, 14. Juni 2024 13:15<br>
<b>An:</b> Shib Users <users@shibboleth.net><br>
<b>Cc:</b> Käfer Thomas <thomas.kaefer@fh-campuswien.ac.at>; Fleissner Gregor <gregor.fleissner@fh-campuswien.ac.at><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">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="x_gmail_quote">
<div dir="ltr" class="x_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="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div class="x_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="x_gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="x_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>
</div>
</body>
</html>