AW: IDP5 Java CookieManager?

Käfer Thomas thomas.kaefer at fh-campuswien.ac.at
Fri Jun 14 12:40:22 UTC 2024


Hello Steven,

thank you for your quick reply, that helped a lot!
I also found that my modified "ExternalAuthenticationImpl" doesn't fit the current interface anymore, do you know of any examples working with IDP5?

Thank you,
kind regards,
Thomas Käfer
FH-Campus Wien
________________________________
Von: Steven Premeau <steven.premeau at maine.edu>
Gesendet: Freitag, 14. Juni 2024 13:15
An: Shib Users <users at shibboleth.net>
Cc: Käfer Thomas <thomas.kaefer at fh-campuswien.ac.at>; Fleissner Gregor <gregor.fleissner at fh-campuswien.ac.at>
Betreff: Re: IDP5 Java CookieManager?

There is definitely still a CookieManager class in IDP5.

I did not use the class in  IDP5, but I suspect your issue is caused by the reorganization that occurred for IDP5.

The current class can be found at net.shibboleth.shared.net.CookieManager.

https://shibboleth.net/api/java-shib-shared/9.1.2/net/shibboleth/shared/net/CookieManager.html

Steve.

On Fri, Jun 14, 2024 at 6:26 AM Käfer Thomas via users <users at shibboleth.net<mailto:users at shibboleth.net>> wrote:
Hello everyone!

I'm currently upgrading our Shibboleth test server from IDP 4 to 5. We are using a custom:
`class AuthFunction implements Function<ProfileRequestContext<AuthnRequest, String>, Object>`
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.

The cookie functionality of this AuthFunction class was based on `net.shibboleth.utilities.java.support.net.CookieManager` injected using
@Autowired
@Qualifier("shibboleth.CookieManager")
CookieManager cm;

Sadly, since the upgrade to IDP5 this class seems to be no longer available, my log contains:
java.lang.ClassNotFoundException: net.shibboleth.utilities.java.support.net.CookieManager

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?

Thank you for reading,
Kind regards,
Thomas Käfer
FH Campus Wien

Informationen zum Datenschutz: www.fh-campuswien.ac.at/datenschutzerklaerung<http://www.fh-campuswien.ac.at/datenschutzerklaerung>

--
For Consortium Member technical support, see https://shibboleth.atlassian.net/wiki/x/ZYEpPw
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net<mailto:users-unsubscribe at shibboleth.net>


--
Steven Premeau, Director of Enterprise Systems Architecture & Administration
University of Maine System: Information Technology
(207) 581-5836 (desk) | (207) 944-9391 (mobile)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20240614/97024f0a/attachment.htm>


More information about the users mailing list