IDP5 Java CookieManager?

Steven Premeau steven.premeau at maine.edu
Fri Jun 14 11:15:29 UTC 2024


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


-- 
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/d8625050/attachment.htm>


More information about the users mailing list