Deprecated Warning in IdP 4.3.0 for HttpServletRequest

Lipscomb, Gary glipscomb at csu.edu.au
Thu Mar 2 04:21:52 UTC 2023


Hi all,

Just going through the release notes for this upgrade and in the process of testing.

            Miscellaneous Changes
The most impactful change is a harbinger of a necessary adjustment that will be coming with V5.0 impacting any scripts or components that require injection of the HttpServletRequest or HttpServletResponse via the shibboleth.HttpServletRequest and shibboleth.HttpServletResponse beans, which are now deprecated in favor of a new pair of beans, shibboleth.HttpServletRequestSupplier and shibboleth.HttpServletResponseSupplier.
For the time being, uses of those beans will produce deprecation warnings, but they will be removed in V5.0. Remediating the warning requires adding the "Supplier" suffix to the end of the bean names at the point of injection, and then adding a call to get() in between the original reference to the bean and the servlet method called.
The only warning I'm find so far is from the oidc.op plugin

WARN [DEPRECATED:128] - Java class method 'setHttpServletRequest', (net.shibboleth.idp.plugin.oidc.op.decoding.impl.OIDCAuthenticationRequestDecoder): This will be removed in the next major version of this software; replacement is setHttpServletRequestSupplier


I'm just confirming that the project will be handling this one.

Regards

Gary


Gary Lipscomb
Technical Officer, Systems
IT Infrastructure & Security | Division of Information Technology


Charles Sturt University, Bathurst, NSW 2795
csu.edu.au<http://www.csu.edu.au/>




[cid:CSU_Logo_01(1)_4d6858d2-0063-4b9a-b775-e0889d59b027.png]<http://www.csu.edu.au/>

|  ALBURY-WODONGA  |  BATHURST  |  CANBERRA  |  DUBBO  |  GOULBURN  |  ORANGE  |  PARRAMATTA  |  PORT MACQUARIE  |  WAGGA WAGGA  |

________________________________
LEGAL NOTICE
This email (and any attachment) is confidential and is intended for the use of the addressee(s) only. If you are not the intended recipient of this email, you must not copy, distribute, take any action in reliance on it or disclose it to anyone. Any confidentiality is not waived or lost by reason of mistaken delivery. Email should be checked for viruses and defects before opening. Charles Sturt University does not accept liability for viruses or any consequence which arise as a result of this email transmission. Email communications with Charles Sturt University may be subject to automated email filtering, which could result in the delay or deletion of a legitimate email before it is read at Charles Sturt University. The views expressed in this email are not necessarily those of Charles Sturt University.

Charles Sturt University in Australia<http://www.csu.edu.au> The Grange Chancellery, Panorama Avenue, Bathurst NSW Australia 2795 (ABN: 83 878 708 551). Charles Sturt University - TEQSA Provider Identification: PRV12018 (Australian University). CRICOS Provider: 00005F.

Consider the environment before printing this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20230302/ce5ca31b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CSU_Logo_01(1)_4d6858d2-0063-4b9a-b775-e0889d59b027.png
Type: image/png
Size: 9984 bytes
Desc: CSU_Logo_01(1)_4d6858d2-0063-4b9a-b775-e0889d59b027.png
URL: <http://shibboleth.net/pipermail/users/attachments/20230302/ce5ca31b/attachment.png>


More information about the users mailing list